diff --git a/GMW/GMW/Web.config b/GMW/GMW/Web.config index 6d3e7909..e89b4fda 100644 --- a/GMW/GMW/Web.config +++ b/GMW/GMW/Web.config @@ -17,7 +17,6 @@ - @@ -63,7 +62,7 @@ - + diff --git a/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx b/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx index 58955ae6..cd9cc09f 100644 --- a/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx +++ b/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx @@ -1,6 +1,123 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_labAssStampaUdc.ascx.cs" Inherits="GMW.WebUserControls.mod_labAssStampaUdc" %> -<%-- -
---%> - W.I.P. \ No newline at end of file +<%@ 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" %> +<%@ Register Src="mod_detailUDC.ascx" TagName="mod_detailUDC" TagPrefix="uc3" %> +
+
+ +
+
+ + + +
+
+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +    + + + +
+ + + +
+
diff --git a/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs b/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs index 20e1a309..32c17f25 100644 --- a/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.cs @@ -1,7 +1,5 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using System.Data; using System.Web.UI; using System.Web.UI.WebControls; using SteamWare; @@ -9,29 +7,300 @@ using GMW_data; namespace GMW.WebUserControls { - public partial class mod_labAssStampaUdc : System.Web.UI.UserControl + public partial class mod_labAssStampaUdc : SteamWare.ApplicationUserControl { - protected void Page_Load(object sender, EventArgs e) - { + #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(); } - protected void btnAssStampa_Click(object sender, EventArgs e) + + /// + /// collega i controlli + /// + protected override void bindControlli() { - //associaStampaUdc(Convert.ToInt32(txtNumRapp.Text.Trim())); + 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(); + lblNumDayBack.Text = traduci("lblNumDayBack"); + btnReloadDataRQL.Text = traduci("btnReloadDataRQL"); + } /// - /// effettua creazioen Udc, associazioen e stampa dato il num del rapporto del lab + /// carico le tabelle /// - /// - private void associaStampaUdc(int numRappUdc) + private void caricaTabelle() { - //bool fatto= MagClass.magazzino.creaUdcDaRappQualita(numRappUdc, true); - //if (!fatto) - //{ - // MagClass.magazzino.stampaUdcDaRappQualita(numRappUdc); - //} } + /// + /// 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"; + if (!Page.IsPostBack) + { + btnDelibera.Text = traduci("btnDelibera"); + cbeBtnDelibera.ConfirmText = traduci("cbeBtnDelibera"); + mod_detailUDC1.Visible = false; + 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 + //StateMachine.SM.deliberaUdc(UDC, mod_filtroDelibera.valore); + } + } + grView.DataBind(); + + + //bool fatto= MagClass.magazzino.creaUdcDaRappQualita(numRappUdc, true); + //if (!fatto) + //{ + // MagClass.magazzino.stampaUdcDaRappQualita(numRappUdc); + //} + } + + #endregion + } } \ No newline at end of file diff --git a/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs b/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs index b1af9804..da3715f3 100644 --- a/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs +++ b/GMW/GMW/WebUserControls/mod_labAssStampaUdc.ascx.designer.cs @@ -12,5 +12,104 @@ 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; + + /// + /// lblNumDayBack control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblNumDayBack; + + /// + /// txtNumDayBack control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.TextBox txtNumDayBack; + + /// + /// 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; + + /// + /// 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/GMW/WebUserControls/mod_ricercaGenerica.ascx b/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx index 0e3b795a..d144936c 100644 --- a/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx +++ b/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx @@ -1,6 +1,5 @@ -<%@ Control Language="C#" AutoEventWireup="true" - Inherits="mod_ricercaGenerica" Codebehind="mod_ricercaGenerica.ascx.cs" %> +<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_ricercaGenerica" CodeBehind="mod_ricercaGenerica.ascx.cs" %>
- - + +
diff --git a/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs b/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs index 8362fd44..5777bf5e 100644 --- a/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_ricercaGenerica.ascx.cs @@ -36,6 +36,7 @@ public partial class mod_ricercaGenerica : ApplicationUserControl { base.Page_Load(sender, e); updateText(); + btnCerca.Text = traduci("lblCerca"); } /// /// cambiato valore in ricerca diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index a9cb309d..810ffda9 100644 Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ diff --git a/GMW/GMW/bin/GMW_data.dll b/GMW/GMW/bin/GMW_data.dll index 98611702..2deadab7 100644 Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ diff --git a/GMW/GMW/bin/SteamWare.dll b/GMW/GMW/bin/SteamWare.dll index d2716eb5..c7b159f2 100644 Binary files a/GMW/GMW/bin/SteamWare.dll and b/GMW/GMW/bin/SteamWare.dll differ diff --git a/GMW/GMW/mazzAppSettings.config b/GMW/GMW/mazzAppSettings.config index 8ff763f1..f42639a5 100644 --- a/GMW/GMW/mazzAppSettings.config +++ b/GMW/GMW/mazzAppSettings.config @@ -7,7 +7,7 @@ - + diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index 1134d2dc..810ffda9 100644 Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ diff --git a/GMW/GMW/obj/Debug/RdlCompile.cache b/GMW/GMW/obj/Debug/RdlCompile.cache index c8d0aec4..90e41daa 100644 Binary files a/GMW/GMW/obj/Debug/RdlCompile.cache and b/GMW/GMW/obj/Debug/RdlCompile.cache differ diff --git a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache index 99fe5fd2..de630da2 100644 Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/DS_magazzino.Designer.cs b/GMW/GMW_data/DS_magazzino.Designer.cs index 0b79b950..b0eb2fe4 100644 --- a/GMW/GMW_data/DS_magazzino.Designer.cs +++ b/GMW/GMW_data/DS_magazzino.Designer.cs @@ -69,6 +69,8 @@ namespace GMW_data { private v_posizioniDelibereDataTable tablev_posizioniDelibere; + private v_RapQualSuntoDataTable tablev_RapQualSunto; + private global::System.Data.DataRelation relationFK_PosizioneUdcCorrente_ElencoCartellini; private global::System.Data.DataRelation relationFK_PosizioneUdcStorico_ElencoCartellini; @@ -183,6 +185,9 @@ namespace GMW_data { 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"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -399,6 +404,15 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [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.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] @@ -524,6 +538,9 @@ namespace GMW_data { 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"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -686,6 +703,12 @@ namespace GMW_data { 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.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"]; @@ -750,6 +773,8 @@ namespace GMW_data { 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.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); @@ -910,6 +935,11 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializev_RapQualSunto() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { @@ -1007,6 +1037,8 @@ namespace GMW_data { public delegate void v_posizioniDelibereRowChangeEventHandler(object sender, v_posizioniDelibereRowChangeEvent e); + public delegate void v_RapQualSuntoRowChangeEventHandler(object sender, v_RapQualSuntoRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -8685,6 +8717,330 @@ namespace GMW_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class 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; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_RapQualSuntoDataTable() { + this.TableName = "v_RapQualSunto"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + protected v_RapQualSuntoDataTable(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 CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UdcTotColumn { + get { + return this.columnUdcTot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UdcAssocColumn { + get { + return this.columnUdcAssoc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_RapQualSuntoRow this[int index] { + get { + return ((v_RapQualSuntoRow)(this.Rows[index])); + } + } + + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowChanging; + + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowChanged; + + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowDeleting; + + public event v_RapQualSuntoRowChangeEventHandler v_RapQualSuntoRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addv_RapQualSuntoRow(v_RapQualSuntoRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_RapQualSuntoRow Addv_RapQualSuntoRow(string nRapQual, decimal DataRapQual, string CodFor, string CodLega, decimal Qta, string BenesQual, int UdcTot, int UdcAssoc) { + v_RapQualSuntoRow rowv_RapQualSuntoRow = ((v_RapQualSuntoRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + CodFor, + CodLega, + Qta, + BenesQual, + UdcTot, + UdcAssoc}; + rowv_RapQualSuntoRow.ItemArray = columnValuesArray; + this.Rows.Add(rowv_RapQualSuntoRow); + return rowv_RapQualSuntoRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + v_RapQualSuntoDataTable cln = ((v_RapQualSuntoDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new v_RapQualSuntoDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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.Constraints.Add(new global::System.Data.UniqueConstraint("v_RapQualSuntoKey1", new global::System.Data.DataColumn[] { + this.columnnRapQual}, false)); + this.columnnRapQual.Unique = true; + 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; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_RapQualSuntoRow Newv_RapQualSuntoRow() { + return ((v_RapQualSuntoRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new v_RapQualSuntoRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(v_RapQualSuntoRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + 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()] + 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()] + 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()] + public void Removev_RapQualSuntoRow(v_RapQualSuntoRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_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 strongly named DataRow class. /// @@ -12819,6 +13175,161 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class v_RapQualSuntoRow : global::System.Data.DataRow { + + private v_RapQualSuntoDataTable tablev_RapQualSunto; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal v_RapQualSuntoRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablev_RapQualSunto = ((v_RapQualSuntoDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tablev_RapQualSunto.DataRapQualColumn])); + } + set { + this[this.tablev_RapQualSunto.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFor { + get { + return ((string)(this[this.tablev_RapQualSunto.CodForColumn])); + } + set { + this[this.tablev_RapQualSunto.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega { + get { + return ((string)(this[this.tablev_RapQualSunto.CodLegaColumn])); + } + set { + this[this.tablev_RapQualSunto.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + public string BenesQual { + get { + return ((string)(this[this.tablev_RapQualSunto.BenesQualColumn])); + } + set { + this[this.tablev_RapQualSunto.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + 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()] + 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()] + public bool IsnRapQualNull() { + return this.IsNull(this.tablev_RapQualSunto.nRapQualColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnRapQualNull() { + this[this.tablev_RapQualSunto.nRapQualColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsQtaNull() { + return this.IsNull(this.tablev_RapQualSunto.QtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetQtaNull() { + this[this.tablev_RapQualSunto.QtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsUdcTotNull() { + return this.IsNull(this.tablev_RapQualSunto.UdcTotColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetUdcTotNull() { + this[this.tablev_RapQualSunto.UdcTotColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsUdcAssocNull() { + return this.IsNull(this.tablev_RapQualSunto.UdcAssocColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetUdcAssocNull() { + this[this.tablev_RapQualSunto.UdcAssocColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -13500,6 +14011,37 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class v_RapQualSuntoRowChangeEvent : global::System.EventArgs { + + private v_RapQualSuntoRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_RapQualSuntoRowChangeEvent(v_RapQualSuntoRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public v_RapQualSuntoRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_magazzinoTableAdapters { @@ -24159,6 +24701,200 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T } } + /// + ///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 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()] + public v_RapQualSuntoTableAdapter() { + 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 = "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"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT nRapQual, DataRapQual, CodFor, CodLega, Qta, BenesQual, UdcTot, UdcAssoc F" + + "ROM 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, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_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.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.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; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -24498,15 +25234,6 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T 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._blocchiTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -24525,6 +25252,15 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T 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); @@ -24614,14 +25350,6 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T 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._blocchiTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -24638,6 +25366,14 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T 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) @@ -24775,6 +25511,14 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T 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._tipoCellaTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -24791,14 +25535,6 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T 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) diff --git a/GMW/GMW_data/DS_magazzino.xsd b/GMW/GMW_data/DS_magazzino.xsd index 0f83adbe..71ee7754 100644 --- a/GMW/GMW_data/DS_magazzino.xsd +++ b/GMW/GMW_data/DS_magazzino.xsd @@ -2338,6 +2338,42 @@ WHERE (IdxPosizione = @IdxPosizione) + + + + + + SELECT nRapQual, DataRapQual, CodFor, CodLega, Qta, BenesQual, UdcTot, UdcAssoc FROM dbo.v_RapQualSunto + + + + + + + + + + + + + + + + + + + + dbo.stp_rappQualSuntoGetByDataRange + + + + + + + + + + @@ -2349,274 +2385,127 @@ WHERE (IdxPosizione = @IdxPosizione) - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - - - - + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2631,18 +2520,18 @@ WHERE (IdxPosizione = @IdxPosizione) - - - - - - - - + + + + + + + + - + @@ -2652,7 +2541,154 @@ WHERE (IdxPosizione = @IdxPosizione) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2666,99 +2702,99 @@ WHERE (IdxPosizione = @IdxPosizione) - + - + - + - + - - - + + + - - + + - - + + - + - + - - - - - + + + + + - + - + - + @@ -2769,6 +2805,336 @@ WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2785,351 +3151,21 @@ WHERE (IdxPosizione = @IdxPosizione) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3142,8 +3178,8 @@ WHERE (IdxPosizione = @IdxPosizione) - - + + @@ -3156,116 +3192,116 @@ WHERE (IdxPosizione = @IdxPosizione) - - + + - - - + + + - + - - + + - - + + - + - - - + + + - - - + + + - + - + - + - - + + - - + + - + - + @@ -3285,8 +3321,8 @@ WHERE (IdxPosizione = @IdxPosizione) - - + + @@ -3296,6 +3332,38 @@ WHERE (IdxPosizione = @IdxPosizione) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3402,6 +3470,10 @@ WHERE (IdxPosizione = @IdxPosizione) + + + + diff --git a/GMW/GMW_data/DS_magazzino.xss b/GMW/GMW_data/DS_magazzino.xss index 99d4f375..f0aa4763 100644 --- a/GMW/GMW_data/DS_magazzino.xss +++ b/GMW/GMW_data/DS_magazzino.xss @@ -4,33 +4,34 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + 318 @@ -42,7 +43,7 @@ - + 318 @@ -54,7 +55,7 @@ - + 1158 @@ -66,7 +67,7 @@ - + 712 @@ -78,7 +79,7 @@ - + 1015 @@ -90,7 +91,7 @@ - + 1100 @@ -102,7 +103,7 @@ - + 197 @@ -114,7 +115,7 @@ - + 430 @@ -126,7 +127,7 @@ - + 735 @@ -138,7 +139,7 @@ - + 392 @@ -154,7 +155,7 @@ - + 1007 diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll index b21fe991..2deadab7 100644 Binary files a/GMW/GMW_data/bin/Debug/GMW_data.dll and b/GMW/GMW_data/bin/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/bin/Debug/SteamWare.dll b/GMW/GMW_data/bin/Debug/SteamWare.dll index 32aaeb13..c7b159f2 100644 Binary files a/GMW/GMW_data/bin/Debug/SteamWare.dll and b/GMW/GMW_data/bin/Debug/SteamWare.dll differ diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll index b21fe991..2deadab7 100644 Binary files a/GMW/GMW_data/obj/Debug/GMW_data.dll and b/GMW/GMW_data/obj/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll b/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll index 5c4144e6..7fa4da5b 100644 Binary files a/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll and b/GMW/GMW_data/obj/Debug/Refactor/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache index edafa6bd..b0355add 100644 Binary files a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_magazzino.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_magazzino.Designer.cs.dll index 64a37894..f9780139 100644 Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_magazzino.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_magazzino.Designer.cs.dll differ diff --git a/GMW/GMW_installer/GMW_installer.vdproj b/GMW/GMW_installer/GMW_installer.vdproj index fa6b49b5..1e95d220 100644 --- a/GMW/GMW_installer/GMW_installer.vdproj +++ b/GMW/GMW_installer/GMW_installer.vdproj @@ -349,14 +349,14 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:GMW" - "ProductCode" = "8:{2A742F34-D364-4A73-A150-185E858D621D}" - "PackageCode" = "8:{83AC625C-78E5-4DE0-8BD3-0E4856D99F4E}" + "ProductCode" = "8:{C178FA46-1964-4FE3-A031-C28112FD65A2}" + "PackageCode" = "8:{46FFE2A4-0DA7-428E-A7CF-D3A44FE34038}" "UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}" "RestartWWWService" = "11:TRUE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.260" + "ProductVersion" = "8:1.0.265" "Manufacturer" = "8:SteamWare s.r.l." "ARPHELPTELEPHONE" = "8:+39-035460560" "ARPHELPLINK" = "8:http://www.steamware.net" @@ -829,7 +829,7 @@ } "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_4FD0E5B75A7F47B79080EC0983BE6583" { - "SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe" + "SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Debug\\SetDirectoryPermission.exe" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_5606017201AE45B480A8ABD8B8D68264" @@ -857,7 +857,7 @@ } "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8BDD7AA9D46A46EC80880F83F13C902E" { - "SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe" + "SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Debug\\IISConsoleVB.exe" "TargetName" = "8:" "Tag" = "8:" "Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"