diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs index 57d931b..7d6870f 100644 --- a/AppData/DS_App.Designer.cs +++ b/AppData/DS_App.Designer.cs @@ -11384,6 +11384,8 @@ namespace AppData { private global::System.Data.DataColumn columnBinDtmx; + private global::System.Data.DataColumn columnBinIndex; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public ItemSearchDetailDataTable() { @@ -11617,6 +11619,14 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn BinIndexColumn { + get { + return this.columnBinIndex; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -11679,7 +11689,8 @@ namespace AppData { string CartDtmx, int CartIndex, int BinID, - string BinDtmx) { + string BinDtmx, + int BinIndex) { ItemSearchDetailRow rowItemSearchDetailRow = ((ItemSearchDetailRow)(this.NewRow())); object[] columnValuesArray = new object[] { ItemID, @@ -11706,7 +11717,8 @@ namespace AppData { CartDtmx, CartIndex, BinID, - BinDtmx}; + BinDtmx, + BinIndex}; rowItemSearchDetailRow.ItemArray = columnValuesArray; this.Rows.Add(rowItemSearchDetailRow); return rowItemSearchDetailRow; @@ -11761,6 +11773,7 @@ namespace AppData { this.columnCartIndex = base.Columns["CartIndex"]; this.columnBinID = base.Columns["BinID"]; this.columnBinDtmx = base.Columns["BinDtmx"]; + this.columnBinIndex = base.Columns["BinIndex"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -11816,6 +11829,8 @@ namespace AppData { base.Columns.Add(this.columnBinID); this.columnBinDtmx = new global::System.Data.DataColumn("BinDtmx", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBinDtmx); + this.columnBinIndex = new global::System.Data.DataColumn("BinIndex", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBinIndex); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnItemID}, true)); this.columnItemID.AllowDBNull = false; @@ -11850,6 +11865,7 @@ namespace AppData { this.columnBinID.ReadOnly = true; this.columnBinDtmx.ReadOnly = true; this.columnBinDtmx.MaxLength = 10; + this.columnBinIndex.ReadOnly = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -20470,6 +20486,22 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int BinIndex { + get { + try { + return ((int)(this[this.tableItemSearchDetail.BinIndexColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'BinIndex\' nella tabella \'ItemSearchDetail\' è DBNull.", e); + } + } + set { + this[this.tableItemSearchDetail.BinIndexColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsKitIDNull() { @@ -20601,6 +20633,18 @@ namespace AppData { public void SetBinDtmxNull() { this[this.tableItemSearchDetail.BinDtmxColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsBinIndexNull() { + return this.IsNull(this.tableItemSearchDetail.BinIndexColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetBinIndexNull() { + this[this.tableItemSearchDetail.BinIndexColumn] = global::System.Convert.DBNull; + } } /// @@ -28609,7 +28653,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT * FROM v_BinDetail"; @@ -28649,19 +28693,30 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BinIndex", 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_BIN_updateKitting"; + this._commandCollection[6].CommandText = "dbo.stp_BIN_resetKitIncomplete"; 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("@Original_BinID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RecStart", 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("@RecEnd", 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_BIN_updatePainted"; + this._commandCollection[7].CommandText = "dbo.stp_BIN_setKitStart"; 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("@Original_BinID", 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("@PaintDate", 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("@BinID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[8].Connection = this.Connection; + this._commandCollection[8].CommandText = "dbo.stp_BIN_updateKitting"; + 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("@Original_BinID", 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("@RecStart", 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("@RecEnd", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_BIN_updatePainted"; + 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_BinID", 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("@PaintDate", 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()] @@ -28796,7 +28851,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_App.BinsDataTable updateKitting(global::System.Nullable Original_BinID, global::System.Nullable RecStart, global::System.Nullable RecEnd) { - this.Adapter.SelectCommand = this.CommandCollection[6]; + this.Adapter.SelectCommand = this.CommandCollection[8]; if ((Original_BinID.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_BinID.Value)); } @@ -28825,7 +28880,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual DS_App.BinsDataTable updatePainted(global::System.Nullable Original_BinID, global::System.Nullable PaintDate) { - this.Adapter.SelectCommand = this.CommandCollection[7]; + this.Adapter.SelectCommand = this.CommandCollection[9]; if ((Original_BinID.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Original_BinID.Value)); } @@ -28842,6 +28897,56 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat this.Adapter.Fill(dataTable); return dataTable; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int resetKitIncomplete() { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int setKitStart(global::System.Nullable BinID) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7]; + if ((BinID.HasValue == true)) { + command.Parameters[1].Value = ((int)(BinID.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } } /// @@ -28985,7 +29090,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_CartDetail"; @@ -29014,6 +29119,17 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat 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("@CartIndex", 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_CART_resetKitIncomplete"; + 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[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "dbo.stp_CART_setKitStart"; + 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("@CartID", 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()] @@ -29107,6 +29223,56 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat this.Adapter.Fill(dataTable); return dataTable; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int resetKitIncomplete() { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int setKitStart(global::System.Nullable CartID) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; + if ((CartID.HasValue == true)) { + command.Parameters[1].Value = ((int)(CartID.Value)); + } + else { + command.Parameters[1].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } } /// @@ -33712,7 +33878,7 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; - this._commandCollection[0].CommandText = "SELECT * FROM v_PackList"; + this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_PackList"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; @@ -34262,6 +34428,7 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W tableMapping.ColumnMappings.Add("CartIndex", "CartIndex"); tableMapping.ColumnMappings.Add("BinID", "BinID"); tableMapping.ColumnMappings.Add("BinDtmx", "BinDtmx"); + tableMapping.ColumnMappings.Add("BinIndex", "BinIndex"); this._adapter.TableMappings.Add(tableMapping); } @@ -34275,13 +34442,19 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + 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 = "dbo.stp_ISD_searchDtmx"; this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemDtmx", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[1].Connection = this.Connection; + this._commandCollection[1].CommandText = "dbo.stp_ISD_getMissingByPLID"; + 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("@PackListID", 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()] @@ -34319,6 +34492,23 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W this.Adapter.Fill(dataTable); return dataTable; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] + public virtual DS_App.ItemSearchDetailDataTable getMissingByPLID(global::System.Nullable PackListID) { + this.Adapter.SelectCommand = this.CommandCollection[1]; + if ((PackListID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(PackListID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + DS_App.ItemSearchDetailDataTable dataTable = new DS_App.ItemSearchDetailDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } } /// diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd index 1a91cdb..a88cd83 100644 --- a/AppData/DS_App.xsd +++ b/AppData/DS_App.xsd @@ -1263,6 +1263,27 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat + + + + dbo.stp_BIN_resetKitIncomplete + + + + + + + + + + dbo.stp_BIN_setKitStart + + + + + + + @@ -1356,6 +1377,27 @@ FROM v_CartDetail + + + + dbo.stp_CART_resetKitIncomplete + + + + + + + + + + dbo.stp_CART_setKitStart + + + + + + + @@ -2380,7 +2422,8 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W - SELECT * FROM v_PackList + SELECT * +FROM v_PackList @@ -2550,8 +2593,21 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W + - + + + + + dbo.stp_ISD_getMissingByPLID + + + + + + + + @@ -3011,7 +3067,7 @@ FROM v_OKIB - + @@ -3061,7 +3117,7 @@ FROM v_OKIB - + @@ -3086,7 +3142,7 @@ FROM v_OKIB - + @@ -3141,7 +3197,7 @@ FROM v_OKIB - + @@ -3214,7 +3270,7 @@ FROM v_OKIB - + @@ -3222,7 +3278,7 @@ FROM v_OKIB - + @@ -3291,7 +3347,7 @@ FROM v_OKIB - + @@ -3324,7 +3380,7 @@ FROM v_OKIB - + @@ -3365,7 +3421,7 @@ FROM v_OKIB - + @@ -3384,7 +3440,7 @@ FROM v_OKIB - + @@ -3415,7 +3471,7 @@ FROM v_OKIB - + @@ -3423,7 +3479,7 @@ FROM v_OKIB - + @@ -3440,7 +3496,7 @@ FROM v_OKIB - + @@ -3449,7 +3505,7 @@ FROM v_OKIB - + @@ -3480,7 +3536,7 @@ FROM v_OKIB - + @@ -3488,7 +3544,7 @@ FROM v_OKIB - + @@ -3504,7 +3560,7 @@ FROM v_OKIB - + @@ -3512,7 +3568,7 @@ FROM v_OKIB - + @@ -3540,7 +3596,7 @@ FROM v_OKIB - + @@ -3576,7 +3632,7 @@ FROM v_OKIB - + @@ -3592,7 +3648,7 @@ FROM v_OKIB - + @@ -3602,7 +3658,7 @@ FROM v_OKIB - + @@ -3619,7 +3675,7 @@ FROM v_OKIB - + @@ -3632,7 +3688,7 @@ FROM v_OKIB - + @@ -3681,7 +3737,7 @@ FROM v_OKIB - + @@ -3710,7 +3766,7 @@ FROM v_OKIB - + @@ -3752,7 +3808,7 @@ FROM v_OKIB - + @@ -3858,10 +3914,11 @@ FROM v_OKIB + - + @@ -3924,7 +3981,7 @@ FROM v_OKIB - + @@ -3969,7 +4026,7 @@ FROM v_OKIB - + @@ -3995,7 +4052,7 @@ FROM v_OKIB - + @@ -4088,7 +4145,7 @@ FROM v_OKIB - + @@ -4151,7 +4208,7 @@ FROM v_OKIB - + @@ -4210,7 +4267,7 @@ FROM v_OKIB - + @@ -4259,7 +4316,7 @@ FROM v_OKIB - + @@ -4418,18 +4475,18 @@ FROM v_OKIB - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss index 17aca0e..3bc1754 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,43 +4,43 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - + + - - - + + + - + - + - + - + - - - - - - - - - + + + + + + + + + diff --git a/AppData/DS_Report.Designer.cs b/AppData/DS_Report.Designer.cs index 376a550..636e9ad 100644 --- a/AppData/DS_Report.Designer.cs +++ b/AppData/DS_Report.Designer.cs @@ -40,6 +40,10 @@ namespace AppData { private stp_prt_OtherPartDataTable tablestp_prt_OtherPart; + private stp_prt_IRKDataTable tablestp_prt_IRK; + + private stp_prt_IRK_SumDataTable tablestp_prt_IRK_Sum; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -92,6 +96,12 @@ namespace AppData { if ((ds.Tables["stp_prt_OtherPart"] != null)) { base.Tables.Add(new stp_prt_OtherPartDataTable(ds.Tables["stp_prt_OtherPart"])); } + if ((ds.Tables["stp_prt_IRK"] != null)) { + base.Tables.Add(new stp_prt_IRKDataTable(ds.Tables["stp_prt_IRK"])); + } + if ((ds.Tables["stp_prt_IRK_Sum"] != null)) { + base.Tables.Add(new stp_prt_IRK_SumDataTable(ds.Tables["stp_prt_IRK_Sum"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -190,6 +200,26 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prt_IRKDataTable stp_prt_IRK { + get { + return this.tablestp_prt_IRK; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prt_IRK_SumDataTable stp_prt_IRK_Sum { + get { + return this.tablestp_prt_IRK_Sum; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.BrowsableAttribute(true)] @@ -281,6 +311,12 @@ namespace AppData { if ((ds.Tables["stp_prt_OtherPart"] != null)) { base.Tables.Add(new stp_prt_OtherPartDataTable(ds.Tables["stp_prt_OtherPart"])); } + if ((ds.Tables["stp_prt_IRK"] != null)) { + base.Tables.Add(new stp_prt_IRKDataTable(ds.Tables["stp_prt_IRK"])); + } + if ((ds.Tables["stp_prt_IRK_Sum"] != null)) { + base.Tables.Add(new stp_prt_IRK_SumDataTable(ds.Tables["stp_prt_IRK_Sum"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -362,6 +398,18 @@ namespace AppData { this.tablestp_prt_OtherPart.InitVars(); } } + this.tablestp_prt_IRK = ((stp_prt_IRKDataTable)(base.Tables["stp_prt_IRK"])); + if ((initTable == true)) { + if ((this.tablestp_prt_IRK != null)) { + this.tablestp_prt_IRK.InitVars(); + } + } + this.tablestp_prt_IRK_Sum = ((stp_prt_IRK_SumDataTable)(base.Tables["stp_prt_IRK_Sum"])); + if ((initTable == true)) { + if ((this.tablestp_prt_IRK_Sum != null)) { + this.tablestp_prt_IRK_Sum.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -388,6 +436,10 @@ namespace AppData { base.Tables.Add(this.tablestp_prt_BunkGroup); this.tablestp_prt_OtherPart = new stp_prt_OtherPartDataTable(); base.Tables.Add(this.tablestp_prt_OtherPart); + this.tablestp_prt_IRK = new stp_prt_IRKDataTable(); + base.Tables.Add(this.tablestp_prt_IRK); + this.tablestp_prt_IRK_Sum = new stp_prt_IRK_SumDataTable(); + base.Tables.Add(this.tablestp_prt_IRK_Sum); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -438,6 +490,18 @@ namespace AppData { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializestp_prt_IRK() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializestp_prt_IRK_Sum() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { @@ -517,6 +581,12 @@ namespace AppData { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public delegate void stp_prt_OtherPartRowChangeEventHandler(object sender, stp_prt_OtherPartRowChangeEvent e); + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void stp_prt_IRKRowChangeEventHandler(object sender, stp_prt_IRKRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void stp_prt_IRK_SumRowChangeEventHandler(object sender, stp_prt_IRK_SumRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -1560,6 +1630,8 @@ namespace AppData { private global::System.Data.DataColumn columnQRCodeBaseUrl; + private global::System.Data.DataColumn columnDueDate; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public stp_prt_BinDataTable() { @@ -1689,6 +1761,14 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn DueDateColumn { + get { + return this.columnDueDate; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1726,7 +1806,7 @@ namespace AppData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public stp_prt_BinRow Addstp_prt_BinRow(bool flgPreOrPost, int BinIndex, string BinIndexChar, string ItemExtCode, string ItemDesc, string BinDtmxRich, string BinDtmx, string BinDtmxProc, int TotItem, string PathImageFull, string QRCodeBaseUrl) { + public stp_prt_BinRow Addstp_prt_BinRow(bool flgPreOrPost, int BinIndex, string BinIndexChar, string ItemExtCode, string ItemDesc, string BinDtmxRich, string BinDtmx, string BinDtmxProc, int TotItem, string PathImageFull, string QRCodeBaseUrl, System.DateTime DueDate) { stp_prt_BinRow rowstp_prt_BinRow = ((stp_prt_BinRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -1740,7 +1820,8 @@ namespace AppData { BinDtmxProc, TotItem, PathImageFull, - QRCodeBaseUrl}; + QRCodeBaseUrl, + DueDate}; rowstp_prt_BinRow.ItemArray = columnValuesArray; this.Rows.Add(rowstp_prt_BinRow); return rowstp_prt_BinRow; @@ -1782,6 +1863,7 @@ namespace AppData { this.columnTotItem = base.Columns["TotItem"]; this.columnPathImageFull = base.Columns["PathImageFull"]; this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; + this.columnDueDate = base.Columns["DueDate"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1811,6 +1893,8 @@ namespace AppData { base.Columns.Add(this.columnPathImageFull); this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnQRCodeBaseUrl); + this.columnDueDate = new global::System.Data.DataColumn("DueDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDueDate); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnBinID}, true)); this.columnBinID.AutoIncrement = true; @@ -2295,6 +2379,8 @@ namespace AppData { private global::System.Data.DataColumn columnQRCodeBaseUrl; + private global::System.Data.DataColumn columnDueDate; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public stp_prt_CartDataTable() { @@ -2392,6 +2478,14 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn DueDateColumn { + get { + return this.columnDueDate; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -2429,7 +2523,7 @@ namespace AppData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public stp_prt_CartRow Addstp_prt_CartRow(int BatchID, int CartIndex, string CartDtmx, string OrderExtCode, string FamilyCode, int TotKit, string QRCodeBaseUrl) { + public stp_prt_CartRow Addstp_prt_CartRow(int BatchID, int CartIndex, string CartDtmx, string OrderExtCode, string FamilyCode, int TotKit, string QRCodeBaseUrl, System.DateTime DueDate) { stp_prt_CartRow rowstp_prt_CartRow = ((stp_prt_CartRow)(this.NewRow())); object[] columnValuesArray = new object[] { BatchID, @@ -2439,7 +2533,8 @@ namespace AppData { OrderExtCode, FamilyCode, TotKit, - QRCodeBaseUrl}; + QRCodeBaseUrl, + DueDate}; rowstp_prt_CartRow.ItemArray = columnValuesArray; this.Rows.Add(rowstp_prt_CartRow); return rowstp_prt_CartRow; @@ -2477,6 +2572,7 @@ namespace AppData { this.columnFamilyCode = base.Columns["FamilyCode"]; this.columnTotKit = base.Columns["TotKit"]; this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; + this.columnDueDate = base.Columns["DueDate"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -2498,6 +2594,8 @@ namespace AppData { base.Columns.Add(this.columnTotKit); this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnQRCodeBaseUrl); + this.columnDueDate = new global::System.Data.DataColumn("DueDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDueDate); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCartID}, true)); this.columnBatchID.ReadOnly = true; @@ -3384,6 +3482,846 @@ namespace AppData { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prt_IRKDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOrderExtCode; + + private global::System.Data.DataColumn columnCartDtmx; + + private global::System.Data.DataColumn columnKitExtCode; + + private global::System.Data.DataColumn columnStatusDesc; + + private global::System.Data.DataColumn columnItemDtmx; + + private global::System.Data.DataColumn columnItemExtCode; + + private global::System.Data.DataColumn columnItemDesc; + + private global::System.Data.DataColumn columnItemNote; + + private global::System.Data.DataColumn columnQtyReq; + + private global::System.Data.DataColumn columnQtyCur; + + private global::System.Data.DataColumn columnMatExtCode; + + private global::System.Data.DataColumn columnMatDesc; + + private global::System.Data.DataColumn columnOnCartDate; + + private global::System.Data.DataColumn columnQRCodeBaseUrl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKDataTable() { + this.TableName = "stp_prt_IRK"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal stp_prt_IRKDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected stp_prt_IRKDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrderExtCodeColumn { + get { + return this.columnOrderExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartDtmxColumn { + get { + return this.columnCartDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn KitExtCodeColumn { + get { + return this.columnKitExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn StatusDescColumn { + get { + return this.columnStatusDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemDtmxColumn { + get { + return this.columnItemDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemExtCodeColumn { + get { + return this.columnItemExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemDescColumn { + get { + return this.columnItemDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemNoteColumn { + get { + return this.columnItemNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn QtyReqColumn { + get { + return this.columnQtyReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn QtyCurColumn { + get { + return this.columnQtyCur; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MatExtCodeColumn { + get { + return this.columnMatExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MatDescColumn { + get { + return this.columnMatDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OnCartDateColumn { + get { + return this.columnOnCartDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn QRCodeBaseUrlColumn { + get { + return this.columnQRCodeBaseUrl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKRow this[int index] { + get { + return ((stp_prt_IRKRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRKRowChangeEventHandler stp_prt_IRKRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRKRowChangeEventHandler stp_prt_IRKRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRKRowChangeEventHandler stp_prt_IRKRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRKRowChangeEventHandler stp_prt_IRKRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Addstp_prt_IRKRow(stp_prt_IRKRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKRow Addstp_prt_IRKRow(string OrderExtCode, string CartDtmx, string KitExtCode, string StatusDesc, string ItemDtmx, string ItemExtCode, string ItemDesc, string ItemNote, int QtyReq, int QtyCur, int MatExtCode, string MatDesc, System.DateTime OnCartDate, string QRCodeBaseUrl) { + stp_prt_IRKRow rowstp_prt_IRKRow = ((stp_prt_IRKRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + OrderExtCode, + CartDtmx, + KitExtCode, + StatusDesc, + ItemDtmx, + ItemExtCode, + ItemDesc, + ItemNote, + QtyReq, + QtyCur, + MatExtCode, + MatDesc, + OnCartDate, + QRCodeBaseUrl}; + rowstp_prt_IRKRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prt_IRKRow); + return rowstp_prt_IRKRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prt_IRKDataTable cln = ((stp_prt_IRKDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prt_IRKDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnOrderExtCode = base.Columns["OrderExtCode"]; + this.columnCartDtmx = base.Columns["CartDtmx"]; + this.columnKitExtCode = base.Columns["KitExtCode"]; + this.columnStatusDesc = base.Columns["StatusDesc"]; + this.columnItemDtmx = base.Columns["ItemDtmx"]; + this.columnItemExtCode = base.Columns["ItemExtCode"]; + this.columnItemDesc = base.Columns["ItemDesc"]; + this.columnItemNote = base.Columns["ItemNote"]; + this.columnQtyReq = base.Columns["QtyReq"]; + this.columnQtyCur = base.Columns["QtyCur"]; + this.columnMatExtCode = base.Columns["MatExtCode"]; + this.columnMatDesc = base.Columns["MatDesc"]; + this.columnOnCartDate = base.Columns["OnCartDate"]; + this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnOrderExtCode = new global::System.Data.DataColumn("OrderExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrderExtCode); + this.columnCartDtmx = new global::System.Data.DataColumn("CartDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartDtmx); + this.columnKitExtCode = new global::System.Data.DataColumn("KitExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnKitExtCode); + this.columnStatusDesc = new global::System.Data.DataColumn("StatusDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnStatusDesc); + this.columnItemDtmx = new global::System.Data.DataColumn("ItemDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDtmx); + this.columnItemExtCode = new global::System.Data.DataColumn("ItemExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemExtCode); + this.columnItemDesc = new global::System.Data.DataColumn("ItemDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDesc); + this.columnItemNote = new global::System.Data.DataColumn("ItemNote", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemNote); + this.columnQtyReq = new global::System.Data.DataColumn("QtyReq", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQtyReq); + this.columnQtyCur = new global::System.Data.DataColumn("QtyCur", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQtyCur); + this.columnMatExtCode = new global::System.Data.DataColumn("MatExtCode", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatExtCode); + this.columnMatDesc = new global::System.Data.DataColumn("MatDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatDesc); + this.columnOnCartDate = new global::System.Data.DataColumn("OnCartDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOnCartDate); + this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQRCodeBaseUrl); + this.columnOrderExtCode.AllowDBNull = false; + this.columnOrderExtCode.MaxLength = 250; + this.columnCartDtmx.AllowDBNull = false; + this.columnCartDtmx.MaxLength = 10; + this.columnKitExtCode.MaxLength = 250; + this.columnStatusDesc.AllowDBNull = false; + this.columnStatusDesc.MaxLength = 50; + this.columnItemDtmx.AllowDBNull = false; + this.columnItemDtmx.MaxLength = 50; + this.columnItemExtCode.AllowDBNull = false; + this.columnItemExtCode.MaxLength = 250; + this.columnItemDesc.AllowDBNull = false; + this.columnItemDesc.MaxLength = 500; + this.columnItemNote.AllowDBNull = false; + this.columnItemNote.MaxLength = 500; + this.columnQtyReq.AllowDBNull = false; + this.columnQtyCur.AllowDBNull = false; + this.columnMatExtCode.AllowDBNull = false; + this.columnMatDesc.AllowDBNull = false; + this.columnMatDesc.MaxLength = 500; + this.columnQRCodeBaseUrl.ReadOnly = true; + this.columnQRCodeBaseUrl.MaxLength = 400; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKRow Newstp_prt_IRKRow() { + return ((stp_prt_IRKRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prt_IRKRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prt_IRKRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prt_IRKRowChanged != null)) { + this.stp_prt_IRKRowChanged(this, new stp_prt_IRKRowChangeEvent(((stp_prt_IRKRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prt_IRKRowChanging != null)) { + this.stp_prt_IRKRowChanging(this, new stp_prt_IRKRowChangeEvent(((stp_prt_IRKRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prt_IRKRowDeleted != null)) { + this.stp_prt_IRKRowDeleted(this, new stp_prt_IRKRowChangeEvent(((stp_prt_IRKRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prt_IRKRowDeleting != null)) { + this.stp_prt_IRKRowDeleting(this, new stp_prt_IRKRowChangeEvent(((stp_prt_IRKRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Removestp_prt_IRKRow(stp_prt_IRKRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Report ds = new DS_Report(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prt_IRKDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prt_IRK_SumDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOrderExtCode; + + private global::System.Data.DataColumn columnCartDtmx; + + private global::System.Data.DataColumn columnItemExtCode; + + private global::System.Data.DataColumn columnItemDesc; + + private global::System.Data.DataColumn columnItemNote; + + private global::System.Data.DataColumn columnTotReq; + + private global::System.Data.DataColumn columnTotCur; + + private global::System.Data.DataColumn columnMatExtCode; + + private global::System.Data.DataColumn columnMatDesc; + + private global::System.Data.DataColumn columnQRCodeBaseUrl; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumDataTable() { + this.TableName = "stp_prt_IRK_Sum"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal stp_prt_IRK_SumDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected stp_prt_IRK_SumDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OrderExtCodeColumn { + get { + return this.columnOrderExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn CartDtmxColumn { + get { + return this.columnCartDtmx; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemExtCodeColumn { + get { + return this.columnItemExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemDescColumn { + get { + return this.columnItemDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn ItemNoteColumn { + get { + return this.columnItemNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn TotReqColumn { + get { + return this.columnTotReq; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn TotCurColumn { + get { + return this.columnTotCur; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MatExtCodeColumn { + get { + return this.columnMatExtCode; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MatDescColumn { + get { + return this.columnMatDesc; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn QRCodeBaseUrlColumn { + get { + return this.columnQRCodeBaseUrl; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumRow this[int index] { + get { + return ((stp_prt_IRK_SumRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRK_SumRowChangeEventHandler stp_prt_IRK_SumRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRK_SumRowChangeEventHandler stp_prt_IRK_SumRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRK_SumRowChangeEventHandler stp_prt_IRK_SumRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event stp_prt_IRK_SumRowChangeEventHandler stp_prt_IRK_SumRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Addstp_prt_IRK_SumRow(stp_prt_IRK_SumRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumRow Addstp_prt_IRK_SumRow(string OrderExtCode, string CartDtmx, string ItemExtCode, string ItemDesc, string ItemNote, int TotReq, int TotCur, int MatExtCode, string MatDesc, string QRCodeBaseUrl) { + stp_prt_IRK_SumRow rowstp_prt_IRK_SumRow = ((stp_prt_IRK_SumRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + OrderExtCode, + CartDtmx, + ItemExtCode, + ItemDesc, + ItemNote, + TotReq, + TotCur, + MatExtCode, + MatDesc, + QRCodeBaseUrl}; + rowstp_prt_IRK_SumRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prt_IRK_SumRow); + return rowstp_prt_IRK_SumRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + stp_prt_IRK_SumDataTable cln = ((stp_prt_IRK_SumDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prt_IRK_SumDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnOrderExtCode = base.Columns["OrderExtCode"]; + this.columnCartDtmx = base.Columns["CartDtmx"]; + this.columnItemExtCode = base.Columns["ItemExtCode"]; + this.columnItemDesc = base.Columns["ItemDesc"]; + this.columnItemNote = base.Columns["ItemNote"]; + this.columnTotReq = base.Columns["TotReq"]; + this.columnTotCur = base.Columns["TotCur"]; + this.columnMatExtCode = base.Columns["MatExtCode"]; + this.columnMatDesc = base.Columns["MatDesc"]; + this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnOrderExtCode = new global::System.Data.DataColumn("OrderExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOrderExtCode); + this.columnCartDtmx = new global::System.Data.DataColumn("CartDtmx", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCartDtmx); + this.columnItemExtCode = new global::System.Data.DataColumn("ItemExtCode", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemExtCode); + this.columnItemDesc = new global::System.Data.DataColumn("ItemDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemDesc); + this.columnItemNote = new global::System.Data.DataColumn("ItemNote", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnItemNote); + this.columnTotReq = new global::System.Data.DataColumn("TotReq", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTotReq); + this.columnTotCur = new global::System.Data.DataColumn("TotCur", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTotCur); + this.columnMatExtCode = new global::System.Data.DataColumn("MatExtCode", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatExtCode); + this.columnMatDesc = new global::System.Data.DataColumn("MatDesc", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMatDesc); + this.columnQRCodeBaseUrl = new global::System.Data.DataColumn("QRCodeBaseUrl", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQRCodeBaseUrl); + this.columnOrderExtCode.AllowDBNull = false; + this.columnOrderExtCode.MaxLength = 250; + this.columnCartDtmx.MaxLength = 10; + this.columnItemExtCode.AllowDBNull = false; + this.columnItemExtCode.MaxLength = 250; + this.columnItemDesc.AllowDBNull = false; + this.columnItemDesc.MaxLength = 500; + this.columnItemNote.AllowDBNull = false; + this.columnItemNote.MaxLength = 500; + this.columnTotReq.ReadOnly = true; + this.columnTotCur.ReadOnly = true; + this.columnMatExtCode.AllowDBNull = false; + this.columnMatDesc.AllowDBNull = false; + this.columnMatDesc.MaxLength = 500; + this.columnQRCodeBaseUrl.ReadOnly = true; + this.columnQRCodeBaseUrl.MaxLength = 400; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumRow Newstp_prt_IRK_SumRow() { + return ((stp_prt_IRK_SumRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prt_IRK_SumRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(stp_prt_IRK_SumRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prt_IRK_SumRowChanged != null)) { + this.stp_prt_IRK_SumRowChanged(this, new stp_prt_IRK_SumRowChangeEvent(((stp_prt_IRK_SumRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prt_IRK_SumRowChanging != null)) { + this.stp_prt_IRK_SumRowChanging(this, new stp_prt_IRK_SumRowChangeEvent(((stp_prt_IRK_SumRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prt_IRK_SumRowDeleted != null)) { + this.stp_prt_IRK_SumRowDeleted(this, new stp_prt_IRK_SumRowChangeEvent(((stp_prt_IRK_SumRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prt_IRK_SumRowDeleting != null)) { + this.stp_prt_IRK_SumRowDeleting(this, new stp_prt_IRK_SumRowChangeEvent(((stp_prt_IRK_SumRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void Removestp_prt_IRK_SumRow(stp_prt_IRK_SumRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Report ds = new DS_Report(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prt_IRK_SumDataTable"; + 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. /// @@ -3954,6 +4892,22 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime DueDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prt_Bin.DueDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDate\' nella tabella \'stp_prt_Bin\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_Bin.DueDateColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsflgPreOrPostNull() { @@ -4073,6 +5027,18 @@ namespace AppData { public void SetQRCodeBaseUrlNull() { this[this.tablestp_prt_Bin.QRCodeBaseUrlColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsDueDateNull() { + return this.IsNull(this.tablestp_prt_Bin.DueDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetDueDateNull() { + this[this.tablestp_prt_Bin.DueDateColumn] = global::System.Convert.DBNull; + } } /// @@ -4317,6 +5283,22 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime DueDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prt_Cart.DueDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'DueDate\' nella tabella \'stp_prt_Cart\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_Cart.DueDateColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsBatchIDNull() { @@ -4388,6 +5370,18 @@ namespace AppData { public void SetQRCodeBaseUrlNull() { this[this.tablestp_prt_Cart.QRCodeBaseUrlColumn] = global::System.Convert.DBNull; } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsDueDateNull() { + return this.IsNull(this.tablestp_prt_Cart.DueDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetDueDateNull() { + this[this.tablestp_prt_Cart.DueDateColumn] = global::System.Convert.DBNull; + } } /// @@ -4764,6 +5758,420 @@ namespace AppData { } } + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prt_IRKRow : global::System.Data.DataRow { + + private stp_prt_IRKDataTable tablestp_prt_IRK; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal stp_prt_IRKRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prt_IRK = ((stp_prt_IRKDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OrderExtCode { + get { + return ((string)(this[this.tablestp_prt_IRK.OrderExtCodeColumn])); + } + set { + this[this.tablestp_prt_IRK.OrderExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CartDtmx { + get { + return ((string)(this[this.tablestp_prt_IRK.CartDtmxColumn])); + } + set { + this[this.tablestp_prt_IRK.CartDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string KitExtCode { + get { + try { + return ((string)(this[this.tablestp_prt_IRK.KitExtCodeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'KitExtCode\' nella tabella \'stp_prt_IRK\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_IRK.KitExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string StatusDesc { + get { + return ((string)(this[this.tablestp_prt_IRK.StatusDescColumn])); + } + set { + this[this.tablestp_prt_IRK.StatusDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemDtmx { + get { + return ((string)(this[this.tablestp_prt_IRK.ItemDtmxColumn])); + } + set { + this[this.tablestp_prt_IRK.ItemDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemExtCode { + get { + return ((string)(this[this.tablestp_prt_IRK.ItemExtCodeColumn])); + } + set { + this[this.tablestp_prt_IRK.ItemExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemDesc { + get { + return ((string)(this[this.tablestp_prt_IRK.ItemDescColumn])); + } + set { + this[this.tablestp_prt_IRK.ItemDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemNote { + get { + return ((string)(this[this.tablestp_prt_IRK.ItemNoteColumn])); + } + set { + this[this.tablestp_prt_IRK.ItemNoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int QtyReq { + get { + return ((int)(this[this.tablestp_prt_IRK.QtyReqColumn])); + } + set { + this[this.tablestp_prt_IRK.QtyReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int QtyCur { + get { + return ((int)(this[this.tablestp_prt_IRK.QtyCurColumn])); + } + set { + this[this.tablestp_prt_IRK.QtyCurColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MatExtCode { + get { + return ((int)(this[this.tablestp_prt_IRK.MatExtCodeColumn])); + } + set { + this[this.tablestp_prt_IRK.MatExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string MatDesc { + get { + return ((string)(this[this.tablestp_prt_IRK.MatDescColumn])); + } + set { + this[this.tablestp_prt_IRK.MatDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime OnCartDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prt_IRK.OnCartDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'OnCartDate\' nella tabella \'stp_prt_IRK\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_IRK.OnCartDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string QRCodeBaseUrl { + get { + try { + return ((string)(this[this.tablestp_prt_IRK.QRCodeBaseUrlColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'QRCodeBaseUrl\' nella tabella \'stp_prt_IRK\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_IRK.QRCodeBaseUrlColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsKitExtCodeNull() { + return this.IsNull(this.tablestp_prt_IRK.KitExtCodeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetKitExtCodeNull() { + this[this.tablestp_prt_IRK.KitExtCodeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOnCartDateNull() { + return this.IsNull(this.tablestp_prt_IRK.OnCartDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOnCartDateNull() { + this[this.tablestp_prt_IRK.OnCartDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsQRCodeBaseUrlNull() { + return this.IsNull(this.tablestp_prt_IRK.QRCodeBaseUrlColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetQRCodeBaseUrlNull() { + this[this.tablestp_prt_IRK.QRCodeBaseUrlColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class stp_prt_IRK_SumRow : global::System.Data.DataRow { + + private stp_prt_IRK_SumDataTable tablestp_prt_IRK_Sum; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal stp_prt_IRK_SumRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prt_IRK_Sum = ((stp_prt_IRK_SumDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OrderExtCode { + get { + return ((string)(this[this.tablestp_prt_IRK_Sum.OrderExtCodeColumn])); + } + set { + this[this.tablestp_prt_IRK_Sum.OrderExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string CartDtmx { + get { + try { + return ((string)(this[this.tablestp_prt_IRK_Sum.CartDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'CartDtmx\' nella tabella \'stp_prt_IRK_Sum\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_IRK_Sum.CartDtmxColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemExtCode { + get { + return ((string)(this[this.tablestp_prt_IRK_Sum.ItemExtCodeColumn])); + } + set { + this[this.tablestp_prt_IRK_Sum.ItemExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemDesc { + get { + return ((string)(this[this.tablestp_prt_IRK_Sum.ItemDescColumn])); + } + set { + this[this.tablestp_prt_IRK_Sum.ItemDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string ItemNote { + get { + return ((string)(this[this.tablestp_prt_IRK_Sum.ItemNoteColumn])); + } + set { + this[this.tablestp_prt_IRK_Sum.ItemNoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int TotReq { + get { + try { + return ((int)(this[this.tablestp_prt_IRK_Sum.TotReqColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotReq\' nella tabella \'stp_prt_IRK_Sum\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_IRK_Sum.TotReqColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int TotCur { + get { + try { + return ((int)(this[this.tablestp_prt_IRK_Sum.TotCurColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'TotCur\' nella tabella \'stp_prt_IRK_Sum\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_IRK_Sum.TotCurColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MatExtCode { + get { + return ((int)(this[this.tablestp_prt_IRK_Sum.MatExtCodeColumn])); + } + set { + this[this.tablestp_prt_IRK_Sum.MatExtCodeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string MatDesc { + get { + return ((string)(this[this.tablestp_prt_IRK_Sum.MatDescColumn])); + } + set { + this[this.tablestp_prt_IRK_Sum.MatDescColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string QRCodeBaseUrl { + get { + try { + return ((string)(this[this.tablestp_prt_IRK_Sum.QRCodeBaseUrlColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'QRCodeBaseUrl\' nella tabella \'stp_prt_IRK_Sum\' è DBNull." + + "", e); + } + } + set { + this[this.tablestp_prt_IRK_Sum.QRCodeBaseUrlColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsCartDtmxNull() { + return this.IsNull(this.tablestp_prt_IRK_Sum.CartDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetCartDtmxNull() { + this[this.tablestp_prt_IRK_Sum.CartDtmxColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsTotReqNull() { + return this.IsNull(this.tablestp_prt_IRK_Sum.TotReqColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetTotReqNull() { + this[this.tablestp_prt_IRK_Sum.TotReqColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsTotCurNull() { + return this.IsNull(this.tablestp_prt_IRK_Sum.TotCurColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetTotCurNull() { + this[this.tablestp_prt_IRK_Sum.TotCurColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsQRCodeBaseUrlNull() { + return this.IsNull(this.tablestp_prt_IRK_Sum.QRCodeBaseUrlColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetQRCodeBaseUrlNull() { + this[this.tablestp_prt_IRK_Sum.QRCodeBaseUrlColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -5035,6 +6443,74 @@ namespace AppData { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class stp_prt_IRKRowChangeEvent : global::System.EventArgs { + + private stp_prt_IRKRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKRowChangeEvent(stp_prt_IRKRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class stp_prt_IRK_SumRowChangeEvent : global::System.EventArgs { + + private stp_prt_IRK_SumRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumRowChangeEvent(stp_prt_IRK_SumRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace AppData.DS_ReportTableAdapters { @@ -6517,6 +7993,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione tableMapping.ColumnMappings.Add("TotItem", "TotItem"); tableMapping.ColumnMappings.Add("PathImageFull", "PathImageFull"); tableMapping.ColumnMappings.Add("QRCodeBaseUrl", "QRCodeBaseUrl"); + tableMapping.ColumnMappings.Add("DueDate", "DueDate"); this._adapter.TableMappings.Add(tableMapping); } @@ -6941,6 +8418,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione tableMapping.ColumnMappings.Add("FamilyCode", "FamilyCode"); tableMapping.ColumnMappings.Add("TotKit", "TotKit"); tableMapping.ColumnMappings.Add("QRCodeBaseUrl", "QRCodeBaseUrl"); + tableMapping.ColumnMappings.Add("DueDate", "DueDate"); this._adapter.TableMappings.Add(tableMapping); } @@ -7416,6 +8894,416 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prt_IRKTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRKTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prt_IRK"; + tableMapping.ColumnMappings.Add("OrderExtCode", "OrderExtCode"); + tableMapping.ColumnMappings.Add("CartDtmx", "CartDtmx"); + tableMapping.ColumnMappings.Add("KitExtCode", "KitExtCode"); + tableMapping.ColumnMappings.Add("StatusDesc", "StatusDesc"); + tableMapping.ColumnMappings.Add("ItemDtmx", "ItemDtmx"); + tableMapping.ColumnMappings.Add("ItemExtCode", "ItemExtCode"); + tableMapping.ColumnMappings.Add("ItemDesc", "ItemDesc"); + tableMapping.ColumnMappings.Add("ItemNote", "ItemNote"); + tableMapping.ColumnMappings.Add("QtyReq", "QtyReq"); + tableMapping.ColumnMappings.Add("QtyCur", "QtyCur"); + tableMapping.ColumnMappings.Add("MatExtCode", "MatExtCode"); + tableMapping.ColumnMappings.Add("MatDesc", "MatDesc"); + tableMapping.ColumnMappings.Add("OnCartDate", "OnCartDate"); + tableMapping.ColumnMappings.Add("QRCodeBaseUrl", "QRCodeBaseUrl"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::AppData.Properties.Settings.Default.Sauder_NKCConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "prt.stp_prt_IRK"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CartID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QRCodeBaseUrl", global::System.Data.SqlDbType.NVarChar, 400, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Report.stp_prt_IRKDataTable dataTable, global::System.Nullable CartID, string QRCodeBaseUrl) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CartID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(CartID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((QRCodeBaseUrl == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QRCodeBaseUrl)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Report.stp_prt_IRKDataTable GetData(global::System.Nullable CartID, string QRCodeBaseUrl) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CartID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(CartID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((QRCodeBaseUrl == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QRCodeBaseUrl)); + } + DS_Report.stp_prt_IRKDataTable dataTable = new DS_Report.stp_prt_IRKDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prt_IRK_SumTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public stp_prt_IRK_SumTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prt_IRK_Sum"; + tableMapping.ColumnMappings.Add("OrderExtCode", "OrderExtCode"); + tableMapping.ColumnMappings.Add("CartDtmx", "CartDtmx"); + tableMapping.ColumnMappings.Add("ItemExtCode", "ItemExtCode"); + tableMapping.ColumnMappings.Add("ItemDesc", "ItemDesc"); + tableMapping.ColumnMappings.Add("ItemNote", "ItemNote"); + tableMapping.ColumnMappings.Add("TotReq", "TotReq"); + tableMapping.ColumnMappings.Add("TotCur", "TotCur"); + tableMapping.ColumnMappings.Add("MatExtCode", "MatExtCode"); + tableMapping.ColumnMappings.Add("MatDesc", "MatDesc"); + tableMapping.ColumnMappings.Add("QRCodeBaseUrl", "QRCodeBaseUrl"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::AppData.Properties.Settings.Default.Sauder_NKCConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "prt.stp_prt_IRK_Sum"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CartID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QRCodeBaseUrl", global::System.Data.SqlDbType.NVarChar, 400, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Report.stp_prt_IRK_SumDataTable dataTable, global::System.Nullable CartID, string QRCodeBaseUrl) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CartID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(CartID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((QRCodeBaseUrl == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QRCodeBaseUrl)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Report.stp_prt_IRK_SumDataTable GetData(global::System.Nullable CartID, string QRCodeBaseUrl) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((CartID.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[1].Value = ((int)(CartID.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + if ((QRCodeBaseUrl == null)) { + this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[2].Value = ((string)(QRCodeBaseUrl)); + } + DS_Report.stp_prt_IRK_SumDataTable dataTable = new DS_Report.stp_prt_IRK_SumDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/AppData/DS_Report.xsd b/AppData/DS_Report.xsd index 6978255..e475933 100644 --- a/AppData/DS_Report.xsd +++ b/AppData/DS_Report.xsd @@ -315,6 +315,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + @@ -365,6 +366,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + @@ -423,6 +425,68 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + prt.stp_prt_IRK + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + prt.stp_prt_IRK_Sum + + + + + + + + + + + + + + + + + + + + + + + @@ -431,7 +495,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -463,7 +527,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -495,7 +559,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -522,7 +586,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -585,10 +649,11 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + - + @@ -616,7 +681,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -651,10 +716,11 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + - + @@ -700,7 +766,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -749,6 +815,144 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AppData/DS_Report.xss b/AppData/DS_Report.xss index a6debca..2536959 100644 --- a/AppData/DS_Report.xss +++ b/AppData/DS_Report.xss @@ -4,16 +4,18 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/AppData/DataLayer.cs b/AppData/DataLayer.cs index ff8bca9..0b001a5 100644 --- a/AppData/DataLayer.cs +++ b/AppData/DataLayer.cs @@ -47,6 +47,8 @@ namespace AppData public DS_ReportTableAdapters.stp_prt_CartTableAdapter taRepCart; public DS_ReportTableAdapters.stp_prt_PartTableAdapter taRepPart; public DS_ReportTableAdapters.stp_prt_OtherPartTableAdapter taRepOtherPart; + public DS_ReportTableAdapters.stp_prt_IRKTableAdapter taRepIRK; + public DS_ReportTableAdapters.stp_prt_IRK_SumTableAdapter taRepIRKSum; public DataLayer() { @@ -97,6 +99,8 @@ namespace AppData taRepCart.Connection.ConnectionString = connString; taRepPart.Connection.ConnectionString = connString; taRepOtherPart.Connection.ConnectionString = connString; + taRepIRK.Connection.ConnectionString = connString; + taRepIRKSum.Connection.ConnectionString = connString; } private void initTA() { @@ -139,6 +143,8 @@ namespace AppData taRepCart = new DS_ReportTableAdapters.stp_prt_CartTableAdapter(); taRepPart = new DS_ReportTableAdapters.stp_prt_PartTableAdapter(); taRepOtherPart = new DS_ReportTableAdapters.stp_prt_OtherPartTableAdapter(); + taRepIRK = new DS_ReportTableAdapters.stp_prt_IRKTableAdapter(); + taRepIRKSum = new DS_ReportTableAdapters.stp_prt_IRK_SumTableAdapter(); } #endregion @@ -303,6 +309,8 @@ namespace AppData answ = tabBinPre.Count > 0; break; case tipoDocumento.docCart: + case tipoDocumento.docCartIRK: + case tipoDocumento.docCartIRKSum: int.TryParse(keyParam, out intIdx); var tabCarts = taCR.getByKey(intIdx); answ = tabCarts.Count > 0; diff --git a/AppData/app.config b/AppData/app.config index f309742..9a88160 100644 --- a/AppData/app.config +++ b/AppData/app.config @@ -3,7 +3,7 @@ - + diff --git a/AppData/reportPrinter.cs b/AppData/reportPrinter.cs index 75a13d8..f71dcf1 100644 --- a/AppData/reportPrinter.cs +++ b/AppData/reportPrinter.cs @@ -181,6 +181,14 @@ namespace AppData int.TryParse(keyParam, out intIdx); tab = (DataTable)DLMan.taRepPart.GetData(intIdx, qrCodeBaseUrl); break; + case reportRichiesto.cartIRKGroup: + int.TryParse(keyParam, out intIdx); + tab = (DataTable)DLMan.taRepIRKSum.GetData(intIdx, qrCodeBaseUrl); + break; + case reportRichiesto.cartIRKList: + int.TryParse(keyParam, out intIdx); + tab = (DataTable)DLMan.taRepIRK.GetData(intIdx, qrCodeBaseUrl); + break; default: break; } @@ -223,6 +231,14 @@ namespace AppData report.ReportPath = string.Format(@"{0}\Cart.rdlc", repoBasePath); report.DataSources.Add(new ReportDataSource(memLayer.ML.cdv("ReportDS_DocCart"), caricaDati(tipoReport, keyParam))); break; + case reportRichiesto.cartIRKGroup: + report.ReportPath = string.Format(@"{0}\IRK_Kitting_Group.rdlc", repoBasePath); + report.DataSources.Add(new ReportDataSource(memLayer.ML.cdv("ReportDS_DocIRKGroup"), caricaDati(tipoReport, keyParam))); + break; + case reportRichiesto.cartIRKList: + report.ReportPath = string.Format(@"{0}\IRK_Kitting_List.rdlc", repoBasePath); + report.DataSources.Add(new ReportDataSource(memLayer.ML.cdv("ReportDS_DocIRKList"), caricaDati(tipoReport, keyParam))); + break; case reportRichiesto.offline: case reportRichiesto.part: report.ReportPath = string.Format(@"{0}\Part.rdlc", repoBasePath); @@ -383,27 +399,35 @@ namespace AppData switch (documento) { case tipoDocumento.docBinPre: - tipo = "DocPaint"; + tipo = "docPaint"; report = reportRichiesto.binPre; break; case tipoDocumento.docBinPost: - tipo = "DocPaintPost"; + tipo = "docPaintPost"; report = reportRichiesto.binPost; break; case tipoDocumento.docCart: - tipo = "DocCart"; + tipo = "docCart"; report = reportRichiesto.cart; break; + case tipoDocumento.docCartIRK: + tipo = "docCartIRK"; + report = reportRichiesto.cartIRKList; + break; + case tipoDocumento.docCartIRKSum: + tipo = "docCartIRKSum"; + report = reportRichiesto.cartIRKGroup; + break; case tipoDocumento.docPart: - tipo = "DocPart"; + tipo = "docPart"; report = reportRichiesto.part; break; case tipoDocumento.docOtherPart: - tipo = "DocOtherPart"; + tipo = "docOtherPart"; report = reportRichiesto.otherPart; break; case tipoDocumento.docStack: - tipo = "DocStack"; + tipo = "docStack"; report = reportRichiesto.bunkGroup; break; default: diff --git a/Jenkinsfile b/Jenkinsfile index da4dbcd..9037844 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { steps { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=351']) { + withEnv(['NEXT_BUILD_NUMBER=353']) { // env.versionNumber = VersionNumber(versionNumberString : '1.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '1.1.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.versionNumberBeta = VersionNumber(versionNumberString : '1.1.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2019-07-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') diff --git a/NKC_SDK/Enums.cs b/NKC_SDK/Enums.cs index 83bdf8d..46b7fda 100644 --- a/NKC_SDK/Enums.cs +++ b/NKC_SDK/Enums.cs @@ -244,7 +244,9 @@ cart, offline, part, - otherPart + otherPart, + cartIRKList, + cartIRKGroup } /// /// tipologia di DOCUMENTO gestito in stampa... @@ -285,7 +287,15 @@ /// /// NON DEFINITO /// - docND + docND, + /// + /// Dettaglio massimo CART --> Item Requested Kitting + /// + docCartIRK, + /// + /// Dettaglio aggregato CART --> Item Requested Kitting + /// + docCartIRKSum } /// diff --git a/NKC_WF/Controllers/BatchProcController.cs b/NKC_WF/Controllers/BatchProcController.cs index 3e0f7c2..7cc95eb 100644 --- a/NKC_WF/Controllers/BatchProcController.cs +++ b/NKC_WF/Controllers/BatchProcController.cs @@ -296,23 +296,23 @@ namespace NKC_WF.Controllers } else { - if (string.IsNullOrEmpty(rispOffOrd.DrawingPath)) + // verifica PRELIMINARE se fosse in stato errore... + if (rispOffOrd.ProcessStatus == procStatus.error) { - answ = "WRONG DATA (expected DrawingPath not null)"; + // status -1 --> ERRORE!!! + DLMan.taOffOL.updateStatus(Math.Abs(rispOffOrd.BatchID), -1); } else { - // verifica PRELIMINARE se fosse in stato errore... - if (rispOffOrd.ProcessStatus == procStatus.error) + if (string.IsNullOrEmpty(rispOffOrd.DrawingPath)) { - // status -1 --> ERRORE!!! - DLMan.taOffOL.updateStatus(Math.Abs(rispOffOrd.BatchID), -1); + answ = "WRONG DATA (expected DrawingPath not null)"; } else { string nestBasePath = memLayer.ML.CRS("nestBasePath").ToLower(); string servBasePath = memLayer.ML.CRS("servBasePath").ToLower(); - string fixPathDraw = rispOffOrd.DrawingPath.ToLower().Replace(nestBasePath, servBasePath).Replace('/','\\'); + string fixPathDraw = rispOffOrd.DrawingPath.ToLower().Replace(nestBasePath, servBasePath).Replace('/', '\\'); string fixPathCnc = rispOffOrd.CncPath.ToLower().Replace(nestBasePath, servBasePath).Replace('/', '\\'); // segno offline order come processato registrando il disegno e segno ogni PART come lavorata da OffOrd2Item (status 992) DLMan.taOffOL.updateDrawing(Math.Abs(rispOffOrd.BatchID), fixPathDraw, fixPathCnc); diff --git a/NKC_WF/Controllers/PrintQueueController.cs b/NKC_WF/Controllers/PrintQueueController.cs index 21b9058..3587559 100644 --- a/NKC_WF/Controllers/PrintQueueController.cs +++ b/NKC_WF/Controllers/PrintQueueController.cs @@ -107,6 +107,16 @@ namespace NKC_WF.Controllers tab = (DataTable)DLMan.taRepOtherPart.GetData(intIdx, qrCodeBaseUrl); answ.Add(memLayer.ML.cdv("ReportDS_DocOtherPart"), tab); break; + case reportRichiesto.cartIRKGroup: + int.TryParse(keyParam, out intIdx); + tab = (DataTable)DLMan.taRepIRKSum.GetData(intIdx, qrCodeBaseUrl); + answ.Add(memLayer.ML.cdv("ReportDS_DocIRKGroup"), tab); + break; + case reportRichiesto.cartIRKList: + int.TryParse(keyParam, out intIdx); + tab = (DataTable)DLMan.taRepIRK.GetData(intIdx, qrCodeBaseUrl); + answ.Add(memLayer.ML.cdv("ReportDS_DocIRKList"), tab); + break; default: break; } @@ -144,6 +154,12 @@ namespace NKC_WF.Controllers case "docCart": report = reportRichiesto.cart; break; + case "docCartIRKSum": + report = reportRichiesto.cartIRKGroup; + break; + case "docCartIRK": + report = reportRichiesto.cartIRKList; + break; case "docPart": report = reportRichiesto.part; break; diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 9bb4a6a..d110d3d 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -417,6 +417,7 @@ + @@ -462,7 +463,10 @@ + + + @@ -499,6 +503,7 @@ + @@ -816,6 +821,13 @@ Home.aspx + + KittingSmartAdv.aspx + ASPXCodeBehind + + + KittingSmartAdv.aspx + KitRequestImporter.aspx ASPXCodeBehind @@ -1173,6 +1185,20 @@ cmp_kittingSmart.ascx + + cmp_kittingSmartAdv.ascx + ASPXCodeBehind + + + cmp_kittingSmartAdv.ascx + + + cmp_kittingSmartAdvBcode.ascx + ASPXCodeBehind + + + cmp_kittingSmartAdvBcode.ascx + cmp_KR_cart.ascx ASPXCodeBehind @@ -1180,6 +1206,13 @@ cmp_KR_cart.ascx + + cmp_KS_Bin.ascx + ASPXCodeBehind + + + cmp_KS_Bin.ascx + cmp_KS_BinCart.ascx ASPXCodeBehind @@ -1439,6 +1472,13 @@ cmp_partMIA.ascx + + cmp_partMIA_byPLID.ascx + ASPXCodeBehind + + + cmp_partMIA_byPLID.ascx + cmp_scrapList.ascx ASPXCodeBehind @@ -1639,6 +1679,14 @@ + + + Always + + + Always + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/NKC_WF/Reports/Bin.rdlc b/NKC_WF/Reports/Bin.rdlc index d5faad0..7e42b1d 100644 --- a/NKC_WF/Reports/Bin.rdlc +++ b/NKC_WF/Reports/Bin.rdlc @@ -270,6 +270,42 @@ + + true + true + + + + + =First(Fields!DueDate.Value) + + + + + + + DueDate + 2.49987in + 0.97917in + 7.3622in + 2 + + + 2pt + 2pt + 2pt + 2pt + + true - Top + Middle 2pt 2pt 2pt @@ -379,7 +379,7 @@ stp_prt_Cart - 7.84362in + 8.34362in 1.41541in 0.5in 4.59605in @@ -410,6 +410,77 @@ + + true + + + + + =First(Fields!DueDate.Value) + + + + + + + DueDate + 3.09166in + 1.09001in + 7.46875in + 3 + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Fields!CartDtmx.Value.ToString() + + + + + + + Textbox3 + 2.77222in + 2.23438in + 0.25in + 2.80833in + 4 + + + 2pt + 2pt + 2pt + 2pt + + true + + + + + + + + 0.8in + + + 2.4in + + + 0.5132in + + + 0.44791in + + + 0.71875in + + + 2.4in + + + + + 0.25in + + + + + true + true + + + + + Item + + + + + + + Textbox8 + + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Item Description + + + + + + + Textbox10 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Req + + + + + + + Textbox5 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Curr + + + + + + + Textbox7 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Mater. + + + + + + + Textbox17 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Mater. Description + + + + + + + Textbox21 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.23in + + + + + true + true + + + + + =Fields!ItemExtCode.Value + + + + + + + ItemExtCode + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ItemDesc.Value + + + + + + + ItemDesc + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!TotReq.Value + + + + + + + TotReq + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!TotCur.Value + + + + + + + TotCur + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatExtCode.Value + + + + + + + MatExtCode + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatDesc.Value + + + + + + + MatDesc + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + After + + + + + + + stp_prt_IRK_Sum + 4.2082in + 0.05in + 0.48in + 7.27986in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + true + + + + + =Fields!CartDtmx.Value.ToString() + + + + + + + Textbox3 + 2.77222in + 2.23438in + 0.25in + 2.95416in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + Order.Line : + + + + + + + Textbox8 + 0.60854cm + 0.48507cm + 0.635cm + 2.98979cm + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!OrderExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 3.24987in + 0.05in + 0.73958in + 7.27986in + 3 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + 9in + + + + + + + + + 0.8in + + + 2.4in + + + 0.5132in + + + 0.44791in + + + 0.71875in + + + 2.4in + + + + + 0.25in + + + + + true + true + + + + + Item + + + + + + + Textbox8 + + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Item Description + + + + + + + Textbox10 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Req + + + + + + + Textbox5 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Curr + + + + + + + Textbox7 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Mater. + + + + + + + Textbox17 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Mater. Description + + + + + + + Textbox21 + + + + Black + + 1pt + + + Black + + 1pt + + Gainsboro + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.23in + + + + + true + true + + + + + =Fields!ItemExtCode.Value + + + + + + + ItemExtCode + + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!ItemDesc.Value + + + + + + + ItemDesc + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!TotReq.Value + + + + + + + TotReq + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!TotCur.Value + + + + + + + TotCur + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatExtCode.Value + + + + + + + MatExtCode + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!MatDesc.Value + + + + + + + MatDesc + + + + Black + + 0.5pt + + + Black + + 0.5pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + After + + + + + + + stp_prt_IRK_Sum + 4.2082in + 0.05in + 0.48in + 7.27986in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + true + + + + + =Fields!CartDtmx.Value.ToString() + + + + + + + Textbox3 + 2.77222in + 2.23438in + 0.25in + 2.95416in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + Order.Line : + + + + + + + Textbox8 + 0.60854cm + 0.48507cm + 0.635cm + 2.98979cm + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!OrderExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 3.24987in + 0.05in + 0.73958in + 7.27986in + 3 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + 9in +