|
|
|
@@ -28340,7 +28340,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
|
|
private void InitCommandCollection() {
|
|
|
|
|
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
|
|
|
|
|
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 v_PODL_exp\r\nORDER BY idxPromessa DESC";
|
|
|
|
@@ -28368,68 +28368,74 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@onlyDirect", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_PODL_getByIdx";
|
|
|
|
|
this._commandCollection[4].CommandText = "dbo.stp_PODL_getByIdxOdl";
|
|
|
|
|
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("@IdxPromessa", 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("@IdxOdl", 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_PODL_getByMaccArt";
|
|
|
|
|
this._commandCollection[5].CommandText = "dbo.stp_PODL_getByIdx";
|
|
|
|
|
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("@IdxMacchina", 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("@CodArticolo", 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("@CodGruppo", 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("@onlyFree", 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("@IdxPromessa", 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_PODL_getByMultiMacc";
|
|
|
|
|
this._commandCollection[6].CommandText = "dbo.stp_PODL_getByMaccArt";
|
|
|
|
|
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("@idxMulti", global::System.Data.SqlDbType.NVarChar, 2147483647, 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("@byGroup", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxMacchina", 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("@CodArticolo", 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("@CodGruppo", 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("@onlyFree", 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_PODL_insertQuery";
|
|
|
|
|
this._commandCollection[7].CommandText = "dbo.stp_PODL_getByMultiMacc";
|
|
|
|
|
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("@KeyRichiesta", 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("@KeyBCode", 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("@Attivabile", 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("@CodArticolo", 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("@CodGruppo", 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("@IdxMacchina", 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("@NumPezzi", 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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", 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("@PzPallet", 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("@Note", global::System.Data.SqlDbType.NVarChar, 2500, 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("@idxMulti", global::System.Data.SqlDbType.NVarChar, 2147483647, 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("@byGroup", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_PODL_updateQta";
|
|
|
|
|
this._commandCollection[8].CommandText = "dbo.stp_PODL_insertQuery";
|
|
|
|
|
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("@KeyRichiesta", 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("@KeyBCode", 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("@Attivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", 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("@CodGruppo", 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("@IdxMacchina", 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("@NumPezzi", 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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", 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("@PzPallet", 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("@Original_idxPromessa", 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("@Note", global::System.Data.SqlDbType.NVarChar, 2500, 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_PODL_updateQuery";
|
|
|
|
|
this._commandCollection[9].CommandText = "dbo.stp_PODL_updateQta";
|
|
|
|
|
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("@KeyRichiesta", 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("@KeyBCode", 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("@Attivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", 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("@CodGruppo", 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("@IdxMacchina", 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("@NumPezzi", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Priorita", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PzPallet", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idxPromessa", 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_PODL_updateQuery";
|
|
|
|
|
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("@KeyRichiesta", global::System.Data.SqlDbType.NVarChar, 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("@KeyBCode", global::System.Data.SqlDbType.NVarChar, 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("@Attivabile", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArticolo", global::System.Data.SqlDbType.NVarChar, 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("@CodGruppo", global::System.Data.SqlDbType.NVarChar, 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("@IdxMacchina", global::System.Data.SqlDbType.NVarChar, 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("@NumPezzi", 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("@TCAssegnato", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 8, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
|
|
|
|
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DueDate", 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("@Priorita", 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("@PzPallet", 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("@Original_idxPromessa", 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()]
|
|
|
|
@@ -28512,8 +28518,25 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
|
|
|
public virtual DS_ProdTempi.PromesseODLDataTable getByKey(global::System.Nullable<int> IdxPromessa) {
|
|
|
|
|
public virtual DS_ProdTempi.PromesseODLDataTable getByIdxOdl(global::System.Nullable<int> IdxOdl) {
|
|
|
|
|
this.Adapter.SelectCommand = this.CommandCollection[4];
|
|
|
|
|
if ((IdxOdl.HasValue == true)) {
|
|
|
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxOdl.Value));
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
|
|
|
}
|
|
|
|
|
DS_ProdTempi.PromesseODLDataTable dataTable = new DS_ProdTempi.PromesseODLDataTable();
|
|
|
|
|
this.Adapter.Fill(dataTable);
|
|
|
|
|
return dataTable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
|
|
|
public virtual DS_ProdTempi.PromesseODLDataTable getByKey(global::System.Nullable<int> IdxPromessa) {
|
|
|
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
|
|
|
if ((IdxPromessa.HasValue == true)) {
|
|
|
|
|
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxPromessa.Value));
|
|
|
|
|
}
|
|
|
|
@@ -28530,7 +28553,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
|
|
|
public virtual DS_ProdTempi.PromesseODLDataTable getByMaccArt(string IdxMacchina, string CodArticolo, string CodGruppo, global::System.Nullable<bool> onlyFree) {
|
|
|
|
|
this.Adapter.SelectCommand = this.CommandCollection[5];
|
|
|
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
|
|
|
if ((IdxMacchina == null)) {
|
|
|
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
|
|
|
}
|
|
|
|
@@ -28565,7 +28588,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
|
|
|
|
public virtual DS_ProdTempi.PromesseODLDataTable getByMultiMacc(string idxMulti, global::System.Nullable<bool> byGroup) {
|
|
|
|
|
this.Adapter.SelectCommand = this.CommandCollection[6];
|
|
|
|
|
this.Adapter.SelectCommand = this.CommandCollection[7];
|
|
|
|
|
if ((idxMulti == null)) {
|
|
|
|
|
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
|
|
|
|
}
|
|
|
|
@@ -28615,7 +28638,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
public virtual int insertQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable<bool> Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable<int> NumPezzi, global::System.Nullable<decimal> TCAssegnato, global::System.Nullable<global::System.DateTime> DueDate, global::System.Nullable<int> Priorita, global::System.Nullable<int> PzPallet, string Note) {
|
|
|
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
|
|
|
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
|
|
|
|
if ((KeyRichiesta == null)) {
|
|
|
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
|
|
|
}
|
|
|
|
@@ -28709,7 +28732,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
public virtual int updateQta(global::System.Nullable<int> NumPezzi, global::System.Nullable<int> PzPallet, global::System.Nullable<int> Original_idxPromessa) {
|
|
|
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
|
|
|
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
|
|
|
|
if ((NumPezzi.HasValue == true)) {
|
|
|
|
|
command.Parameters[1].Value = ((int)(NumPezzi.Value));
|
|
|
|
|
}
|
|
|
|
@@ -28749,7 +28772,7 @@ SELECT IdxMacchina, T1, T2, T3 FROM TurniMacchina WHERE (IdxMacchina = @IdxMacch
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
|
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
|
|
public virtual int updateQuery(string KeyRichiesta, string KeyBCode, global::System.Nullable<bool> Attivabile, string CodArticolo, string CodGruppo, string IdxMacchina, global::System.Nullable<int> NumPezzi, global::System.Nullable<decimal> TCAssegnato, global::System.Nullable<global::System.DateTime> DueDate, global::System.Nullable<int> Priorita, global::System.Nullable<int> PzPallet, global::System.Nullable<int> Original_idxPromessa) {
|
|
|
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
|
|
|
|
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
|
|
|
|
|
if ((KeyRichiesta == null)) {
|
|
|
|
|
command.Parameters[1].Value = global::System.DBNull.Value;
|
|
|
|
|
}
|
|
|
|
|