diff --git a/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs b/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs index 7cc246dc..ffacae2d 100644 --- a/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs +++ b/GMW/WebUserControls/mod_elencoListePrelievo.ascx.cs @@ -1133,7 +1133,7 @@ namespace GMW.WebUserControls /// private void updateDestTipoLDP(string CodLista) { - GMW_data.MagClass.magazzino.taElencoListePrelievo.stp_LP_updateDestTipo(CodLista, ddlTipoLista.SelectedValue, ddlDestinatario.SelectedValue, ddlDestinatario.SelectedItem.Text); + GMW_data.MagClass.magazzino.taElencoListePrelievo.stp_LP_updateDestTipo(CodLista, ddlTipoLista.SelectedValue, ddlDestinatario.SelectedValue, ddlDestinatario.SelectedItem.Text, GMW_data.MagClass.magazzino.CodSoggCurrUser, DateTime.Now); } /// /// modo di funzionamento del controllo diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index 29e0d27a..563b7209 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ diff --git a/GMW/bin/GMW_data.dll b/GMW/bin/GMW_data.dll index 5e8e9bb2..dcd48891 100644 Binary files a/GMW/bin/GMW_data.dll and b/GMW/bin/GMW_data.dll differ diff --git a/GMW/bin/SteamWare.dll b/GMW/bin/SteamWare.dll index 507f32e9..f4d00767 100644 Binary files a/GMW/bin/SteamWare.dll and b/GMW/bin/SteamWare.dll differ diff --git a/GMW_data/DS_magazzino.Designer.cs b/GMW_data/DS_magazzino.Designer.cs index 747a8bb1..f34be59b 100644 --- a/GMW_data/DS_magazzino.Designer.cs +++ b/GMW_data/DS_magazzino.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18033 +// Runtime Version:4.0.30319.18046 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -28163,9 +28163,11 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co 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("@CodTipoLista", 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("@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[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RagSociale", 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("@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("@DataMod", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, 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"; @@ -28520,7 +28522,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co [global::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) { + public virtual int stp_LP_updateDestTipo(string Original_CodLista, string CodTipoLista, string CodCliente, string RagSociale, string CodSoggetto, global::System.Nullable DataMod) { global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9]; if ((Original_CodLista == null)) { command.Parameters[1].Value = global::System.DBNull.Value; @@ -28546,6 +28548,18 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co else { command.Parameters[4].Value = ((string)(RagSociale)); } + if ((CodSoggetto == null)) { + command.Parameters[5].Value = global::System.DBNull.Value; + } + else { + command.Parameters[5].Value = ((string)(CodSoggetto)); + } + if ((DataMod.HasValue == true)) { + command.Parameters[6].Value = ((System.DateTime)(DataMod.Value)); + } + else { + command.Parameters[6].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)) { diff --git a/GMW_data/DS_magazzino.cs b/GMW_data/DS_magazzino.cs index 2de81fc3..2f120f4d 100644 --- a/GMW_data/DS_magazzino.cs +++ b/GMW_data/DS_magazzino.cs @@ -1,3 +1,9 @@ namespace GMW_data { } +namespace GMW_data +{ +} +namespace GMW_data +{ +} diff --git a/GMW_data/DS_magazzino.xsd b/GMW_data/DS_magazzino.xsd index 8261d3e5..25500620 100644 --- a/GMW_data/DS_magazzino.xsd +++ b/GMW_data/DS_magazzino.xsd @@ -2177,16 +2177,18 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co - + dbo.stp_LP_updateDestTipo - + - + + + @@ -4259,7 +4261,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -4316,7 +4318,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -4348,7 +4350,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -4370,7 +4372,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -4537,17 +4539,17 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - - - - - - - - - - - + + + + + + + + + + + \ No newline at end of file diff --git a/GMW_data/DS_magazzino.xss b/GMW_data/DS_magazzino.xss index e54539a1..a70b1495 100644 --- a/GMW_data/DS_magazzino.xss +++ b/GMW_data/DS_magazzino.xss @@ -4,11 +4,11 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - + - + @@ -16,11 +16,11 @@ - + - + @@ -30,11 +30,11 @@ - - - - - + + + + +