From b2b5f2a5bdc04d03561283f267bcb6021110a7a1 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 10:26:44 +0200 Subject: [PATCH 01/25] new rel --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index da4dbcd..096eeab 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=352']) { // 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}') From 491b55248e4a1fdad19d8c13f0aa93aaddc7aeba Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 10:27:00 +0200 Subject: [PATCH 02/25] reinseriti errori 500 + redirect dopo 10sec --- NKC_WF/Web.config | 5 ++- NKC_WF/WebUserControls/cmp_errorDetail.ascx | 17 ++++++++- .../WebUserControls/cmp_errorDetail.ascx.cs | 38 ++++++++++++++++++- .../cmp_errorDetail.ascx.designer.cs | 22 ++++++++++- 4 files changed, 75 insertions(+), 7 deletions(-) diff --git a/NKC_WF/Web.config b/NKC_WF/Web.config index 4776fdd..c5fe8fa 100644 --- a/NKC_WF/Web.config +++ b/NKC_WF/Web.config @@ -38,12 +38,13 @@ - + + - + diff --git a/NKC_WF/WebUserControls/cmp_errorDetail.ascx b/NKC_WF/WebUserControls/cmp_errorDetail.ascx index ac95e02..ce403b3 100644 --- a/NKC_WF/WebUserControls/cmp_errorDetail.ascx +++ b/NKC_WF/WebUserControls/cmp_errorDetail.ascx @@ -12,8 +12,21 @@
Error log recorded
- detailed info - (server access only). + + + <%--detailed info + (server access only).--%> + <%: traduci("RedirectingToHome") %> + + + +
+
+
+
+
+
+
<%: traduci("TryReset") %> diff --git a/NKC_WF/WebUserControls/cmp_errorDetail.ascx.cs b/NKC_WF/WebUserControls/cmp_errorDetail.ascx.cs index f577515..2127b8b 100644 --- a/NKC_WF/WebUserControls/cmp_errorDetail.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_errorDetail.ascx.cs @@ -13,7 +13,6 @@ namespace NKC_WF.WebUserControls { protected void Page_Load(object sender, EventArgs e) { - } public string ErrorTitle @@ -77,6 +76,11 @@ namespace NKC_WF.WebUserControls } protected void lbtTryReset_Click(object sender, EventArgs e) + { + doRedirect(); + } + + private void doRedirect() { // svuoto session e cache per rileggere i dati da Db Session.RemoveAll(); @@ -97,5 +101,37 @@ namespace NKC_WF.WebUserControls memLayer.ML.setSessionVal("nextPage", "default"); Response.Redirect("~/default"); } + + protected int countDown + { + get + { + int answ = 0; + int.TryParse(lblCounter.Text, out answ); + return answ; + } + set + { + lblCounter.Text = value.ToString(); + } + } + + public string timeAdv + { + get + { + return $"width: {(countDown) * 100 / 10}%"; + } + } + + protected void timerRedirect_Tick(object sender, EventArgs e) + { + // decremento contatore + if (countDown <= 0) + { + doRedirect(); + } + countDown--; + } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_errorDetail.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_errorDetail.ascx.designer.cs index cfadaa2..18c23a5 100644 --- a/NKC_WF/WebUserControls/cmp_errorDetail.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_errorDetail.ascx.designer.cs @@ -33,13 +33,31 @@ namespace NKC_WF.WebUserControls protected global::System.Web.UI.WebControls.Label lblErrorExpl; /// - /// Controllo hlElmah. + /// Controllo upnlBCode. /// /// /// Campo generato automaticamente. /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::System.Web.UI.WebControls.HyperLink hlElmah; + protected global::System.Web.UI.UpdatePanel upnlBCode; + + /// + /// Controllo lblCounter. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblCounter; + + /// + /// Controllo timerRedirect. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.Timer timerRedirect; /// /// Controllo lbtTryReset. From 680d1e85a8860bb83b2fa39d3493b22351ea32f4 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 10:54:16 +0200 Subject: [PATCH 03/25] Inizio modifica x reset KIT --- NKC_WF/Web.config | 4 ++-- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 5 ++++ .../WebUserControls/cmp_kitReqRunning.ascx.cs | 23 +++++++++++++++++++ NKC_WF/WebUserControls/cmp_kitReqSched.ascx | 2 +- NKC_WF/site/KitRequestSched.aspx | 2 -- NKC_WF/site/KitRequestSched.aspx.cs | 6 +++++ 6 files changed, 37 insertions(+), 5 deletions(-) diff --git a/NKC_WF/Web.config b/NKC_WF/Web.config index c5fe8fa..9e64220 100644 --- a/NKC_WF/Web.config +++ b/NKC_WF/Web.config @@ -38,8 +38,8 @@ - - + + diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index 0c6a8cd..adb6e7c 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -34,6 +34,11 @@ + + + aaa + + diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs index cf2441a..3590ffc 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs @@ -1,4 +1,5 @@ using System; +using System.Web.UI.WebControls; namespace NKC_WF.WebUserControls { @@ -42,5 +43,27 @@ namespace NKC_WF.WebUserControls grView.SelectedIndex = -1; doUpdate(); } + + + protected void lbtSuspendJob_Clickaaa(object sender, EventArgs e) + { + int PackListId = 0; + LinkButton lbtBtn = (LinkButton)sender; + if (lbtBtn != null) + { + int.TryParse(lbtBtn.CommandArgument, out PackListId); + // SOSPENDO il job selezionato e indico status approvato + DLMan.taPL.updateSchedPrior(PackListId, -10); + DLMan.taPL.updateStatus(PackListId, 2); + // fix grafico! + doUpdate(); + raiseEvent(); + } + } + + protected void lbtSuspendJob_Click(object sender, EventArgs e) + { + + } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx index 72c9b91..ea9d008 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx @@ -15,7 +15,7 @@ - + diff --git a/NKC_WF/site/KitRequestSched.aspx b/NKC_WF/site/KitRequestSched.aspx index 474e9e4..6ab1f5c 100644 --- a/NKC_WF/site/KitRequestSched.aspx +++ b/NKC_WF/site/KitRequestSched.aspx @@ -3,8 +3,6 @@ <%@ Register Src="~/WebUserControls/cmp_kitReqRunning.ascx" TagPrefix="uc1" TagName="cmp_kitReqRunning" %> <%@ Register Src="~/WebUserControls/cmp_kitReqSched.ascx" TagPrefix="uc1" TagName="cmp_kitReqSched" %> - -
diff --git a/NKC_WF/site/KitRequestSched.aspx.cs b/NKC_WF/site/KitRequestSched.aspx.cs index e7051e2..f1779b6 100644 --- a/NKC_WF/site/KitRequestSched.aspx.cs +++ b/NKC_WF/site/KitRequestSched.aspx.cs @@ -7,6 +7,12 @@ namespace NKC_WF.site protected void Page_Load(object sender, EventArgs e) { cmp_kitReqSched.eh_doRefresh += cmp_kitReqSched_eh_doRefresh; + cmp_kitReqRunning.eh_doRefresh += cmp_kitReqRunning_eh_doRefresh; + } + + private void cmp_kitReqRunning_eh_doRefresh(object sender, EventArgs e) + { + cmp_kitReqSched.doUpdate(); } private void cmp_kitReqSched_eh_doRefresh(object sender, EventArgs e) From dc0c31f1904ddd500a9f0957e7b90bae2bc4ebc9 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 12:06:59 +0200 Subject: [PATCH 04/25] Ok il ciclo di sospensione KITTIN --- AppData/DS_App.Designer.cs | 144 ++++++++++++++++-- AppData/DS_App.xsd | 136 +++++++++++------ AppData/DS_App.xss | 8 +- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 4 +- .../WebUserControls/cmp_kitReqRunning.ascx.cs | 15 +- .../WebUserControls/cmp_kittingSmart.ascx.cs | 2 + 6 files changed, 236 insertions(+), 73 deletions(-) diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs index 57d931b..0f259d0 100644 --- a/AppData/DS_App.Designer.cs +++ b/AppData/DS_App.Designer.cs @@ -28609,7 +28609,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 +28649,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 +28807,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 +28836,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 +28853,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 +29046,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 +29075,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 +29179,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; + } } /// diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd index 1a91cdb..1f3d50d 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 + + + + + + + @@ -3011,7 +3053,7 @@ FROM v_OKIB - + @@ -3061,7 +3103,7 @@ FROM v_OKIB - + @@ -3086,7 +3128,7 @@ FROM v_OKIB - + @@ -3141,7 +3183,7 @@ FROM v_OKIB - + @@ -3214,7 +3256,7 @@ FROM v_OKIB - + @@ -3222,7 +3264,7 @@ FROM v_OKIB - + @@ -3291,7 +3333,7 @@ FROM v_OKIB - + @@ -3324,7 +3366,7 @@ FROM v_OKIB - + @@ -3365,7 +3407,7 @@ FROM v_OKIB - + @@ -3384,7 +3426,7 @@ FROM v_OKIB - + @@ -3415,7 +3457,7 @@ FROM v_OKIB - + @@ -3423,7 +3465,7 @@ FROM v_OKIB - + @@ -3440,7 +3482,7 @@ FROM v_OKIB - + @@ -3449,7 +3491,7 @@ FROM v_OKIB - + @@ -3480,7 +3522,7 @@ FROM v_OKIB - + @@ -3488,7 +3530,7 @@ FROM v_OKIB - + @@ -3504,7 +3546,7 @@ FROM v_OKIB - + @@ -3512,7 +3554,7 @@ FROM v_OKIB - + @@ -3540,7 +3582,7 @@ FROM v_OKIB - + @@ -3576,7 +3618,7 @@ FROM v_OKIB - + @@ -3592,7 +3634,7 @@ FROM v_OKIB - + @@ -3602,7 +3644,7 @@ FROM v_OKIB - + @@ -3619,7 +3661,7 @@ FROM v_OKIB - + @@ -3632,7 +3674,7 @@ FROM v_OKIB - + @@ -3681,7 +3723,7 @@ FROM v_OKIB - + @@ -3710,7 +3752,7 @@ FROM v_OKIB - + @@ -3752,7 +3794,7 @@ FROM v_OKIB - + @@ -3861,7 +3903,7 @@ FROM v_OKIB - + @@ -3924,7 +3966,7 @@ FROM v_OKIB - + @@ -3969,7 +4011,7 @@ FROM v_OKIB - + @@ -3995,7 +4037,7 @@ FROM v_OKIB - + @@ -4088,7 +4130,7 @@ FROM v_OKIB - + @@ -4151,7 +4193,7 @@ FROM v_OKIB - + @@ -4210,7 +4252,7 @@ FROM v_OKIB - + @@ -4259,7 +4301,7 @@ FROM v_OKIB - + @@ -4418,18 +4460,18 @@ FROM v_OKIB - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss index 17aca0e..3c7c980 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + @@ -14,12 +14,12 @@ - - + + - + diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index adb6e7c..98861bf 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -1,8 +1,6 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kitReqRunning.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kitReqRunning" %> <%@ Register Src="~/WebUserControls/cmp_KR_cart.ascx" TagPrefix="uc1" TagName="cmp_KR_cart" %> - -

<%: traduci("RunningKitReq") %>

@@ -36,7 +34,7 @@ - aaa + diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs index 3590ffc..4b98818 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs @@ -44,8 +44,7 @@ namespace NKC_WF.WebUserControls doUpdate(); } - - protected void lbtSuspendJob_Clickaaa(object sender, EventArgs e) + protected void lbtSuspendJob_Click(object sender, EventArgs e) { int PackListId = 0; LinkButton lbtBtn = (LinkButton)sender; @@ -53,17 +52,17 @@ namespace NKC_WF.WebUserControls { int.TryParse(lbtBtn.CommandArgument, out PackListId); // SOSPENDO il job selezionato e indico status approvato - DLMan.taPL.updateSchedPrior(PackListId, -10); DLMan.taPL.updateStatus(PackListId, 2); + DLMan.taPL.updateSchedPrior(PackListId, 0); + DLMan.taPL.fixSched(); + // resetto CART e BIN che al KIT siano NON completati... + DLMan.taCR.resetKitIncomplete(); + DLMan.taBN.resetKitIncomplete(); // fix grafico! + grView.SelectedIndex = -1; doUpdate(); raiseEvent(); } } - - protected void lbtSuspendJob_Click(object sender, EventArgs e) - { - - } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs index 9ef0004..20dbfee 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kittingSmart.ascx.cs @@ -309,6 +309,8 @@ namespace NKC_WF.WebUserControls var tabLog = DLMan.taPLog.getByCartId(codeInt); if (tabLog.Count > 0) { + // per scrupolo sistemo la data di kitting... + DLMan.taCR.setKitStart(codeInt); // verifico se sia completo --> reset... altrimenti lascio così... var tabCOK = DLMan.taCOK.GetData(); // cerco se sia "green" numWait + numReady + numOtherWait = 0 From 6e34fa2a1d08b677529965fe559de7bea31b6917 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 12:31:34 +0200 Subject: [PATCH 05/25] Aggiunta ricerca x CART --- NKC_WF/WebUserControls/cmp_KS_Bin.ascx | 1 + NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs | 17 ++++++ .../cmp_KS_Bin.ascx.designer.cs | 17 ++++++ NKC_WF/site/GlobalSearch.aspx | 7 +++ NKC_WF/site/GlobalSearch.aspx.cs | 54 +++++++++++++++++-- NKC_WF/site/GlobalSearch.aspx.designer.cs | 27 ++++++++++ 6 files changed, 118 insertions(+), 5 deletions(-) create mode 100644 NKC_WF/WebUserControls/cmp_KS_Bin.ascx create mode 100644 NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs create mode 100644 NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs diff --git a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx new file mode 100644 index 0000000..e034237 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx @@ -0,0 +1 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_Bin.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_Bin" %> diff --git a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs new file mode 100644 index 0000000..bbd5b5d --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_KS_Bin : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs new file mode 100644 index 0000000..811bd4d --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_KS_Bin + { + } +} diff --git a/NKC_WF/site/GlobalSearch.aspx b/NKC_WF/site/GlobalSearch.aspx index a119378..468f7bc 100644 --- a/NKC_WF/site/GlobalSearch.aspx +++ b/NKC_WF/site/GlobalSearch.aspx @@ -2,6 +2,8 @@ <%@ Register Src="~/WebUserControls/cmp_barcode.ascx" TagPrefix="uc1" TagName="cmp_barcode" %> <%@ Register Src="~/WebUserControls/cmp_searchItems.ascx" TagPrefix="uc1" TagName="cmp_searchItems" %> +<%@ Register Src="~/WebUserControls/cmp_KS_Cart.ascx" TagPrefix="uc1" TagName="cmp_KS_Cart" %> + @@ -13,6 +15,11 @@ +
+

Missing PARTS for CART

+ +
+
diff --git a/NKC_WF/site/GlobalSearch.aspx.cs b/NKC_WF/site/GlobalSearch.aspx.cs index b294570..1026fc3 100644 --- a/NKC_WF/site/GlobalSearch.aspx.cs +++ b/NKC_WF/site/GlobalSearch.aspx.cs @@ -1,12 +1,43 @@ using AppData; using NKC_SDK; using System; +using System.Net.Http.Headers; using System.Web.UI; namespace NKC_WF.site { public partial class GlobalSearch : BasePage { + /// + /// ItemID selezionato + /// + protected int ItemID + { + get + { + int answ = 0; + int.TryParse(hfItemID.Value, out answ); + return answ; + } + set + { + hfItemID.Value = value.ToString(); + } + } + /// + /// CartID selezionato + /// + protected int CartID + { + get + { + return cmp_KS_Cart.CartID; + } + set + { + cmp_KS_Cart.CartID = value; + } + } /// /// Comando barcode letto /// @@ -45,7 +76,9 @@ namespace NKC_WF.site if (!Page.IsPostBack) { ((SiteContent)this.Master).showSearch = false; - cmp_searchItems.Visible = false; + ItemID = 0; + CartID = 0; + showResults(false); } cmp_barcode.eh_doRefresh += Cmp_barcode_eh_doRefresh; cmp_barcode.eh_doReset += Cmp_barcode_eh_doReset; @@ -82,15 +115,21 @@ namespace NKC_WF.site case codeType.Item: cmp_barcode.showOutput(cssClass.success, $"Valid IT Code: {decoData.rawData}"); cmp_searchItems.itemDtmx = decoData.rawData; + ItemID = decoData.codeInt; + CartID = 0; doShowResults = true; break; case codeType.ItemGeneric: cmp_barcode.showOutput(cssClass.success, $"Valid IG Code: {decoData.rawData}"); cmp_searchItems.itemDtmx = decoData.rawData; + ItemID = decoData.codeInt; + CartID = 0; doShowResults = true; break; case codeType.OtherItem: cmp_barcode.showOutput(cssClass.success, $"Valid Generic PART Code: {decoData.rawData}"); + ItemID = decoData.codeInt; + CartID = 0; doShowResults = false; break; case codeType.Material: @@ -110,8 +149,12 @@ namespace NKC_WF.site doShowResults = false; break; case codeType.Cart: - cmp_barcode.showOutput(cssClass.success, $"Cart - ignored: {decoData.description}"); - doShowResults = false; + cmp_barcode.showOutput(cssClass.success, $"Cart : {decoData.description}"); + ItemID = 0; + CartID = decoData.codeInt; + cmp_KS_Cart.CartDtmx = decoData.rawData; + cmp_KS_Cart.doUpdate(); + doShowResults = true; break; case codeType.Bin: cmp_barcode.showOutput(cssClass.success, $"Bin - ignored: {decoData.description}"); @@ -129,9 +172,10 @@ namespace NKC_WF.site /// Determina visualizzazione risultati ///
/// - protected void showResults(bool shoItems) + protected void showResults(bool showDetail) { - cmp_searchItems.Visible = shoItems; + cmp_searchItems.Visible = showDetail && ItemID > 0; + divCart.Visible = showDetail && CartID > 0; } } diff --git a/NKC_WF/site/GlobalSearch.aspx.designer.cs b/NKC_WF/site/GlobalSearch.aspx.designer.cs index 22eed16..fabeea5 100644 --- a/NKC_WF/site/GlobalSearch.aspx.designer.cs +++ b/NKC_WF/site/GlobalSearch.aspx.designer.cs @@ -49,5 +49,32 @@ namespace NKC_WF.site /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::NKC_WF.WebUserControls.cmp_searchItems cmp_searchItems; + + /// + /// Controllo divCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divCart; + + /// + /// Controllo cmp_KS_Cart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_Cart cmp_KS_Cart; + + /// + /// Controllo hfItemID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfItemID; } } From 66e1ba8c0c2d3e6fe04476916839dbd285b24496 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 12:55:55 +0200 Subject: [PATCH 06/25] FIX SearchPage x BIN --- NKC_WF/NKC_WF.csproj | 8 ++ NKC_WF/WebUserControls/cmp_KS_Bin.ascx | 12 +++ NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs | 79 ++++++++++++++++++- .../cmp_KS_Bin.ascx.designer.cs | 24 +++++- NKC_WF/WebUserControls/cmp_KS_Cart.ascx | 6 -- NKC_WF/site/GlobalSearch.aspx | 10 ++- NKC_WF/site/GlobalSearch.aspx.cs | 73 ++++++++++------- NKC_WF/site/GlobalSearch.aspx.designer.cs | 22 +++++- 8 files changed, 191 insertions(+), 43 deletions(-) diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 9bb4a6a..7def23a 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -463,6 +463,7 @@ + @@ -1180,6 +1181,13 @@ cmp_KR_cart.ascx + + cmp_KS_Bin.ascx + ASPXCodeBehind + + + cmp_KS_Bin.ascx + cmp_KS_BinCart.ascx ASPXCodeBehind diff --git a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx index e034237..c546cc6 100644 --- a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx +++ b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx @@ -1 +1,13 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_Bin.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_Bin" %> +<%@ Register Src="~/WebUserControls/cmp_KS_currBin.ascx" TagPrefix="uc1" TagName="cmp_KS_currBin" %> +<%@ Register Src="~/WebUserControls/cmp_KS_currCart.ascx" TagPrefix="uc1" TagName="cmp_KS_currCart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_OkibBin.ascx" TagPrefix="uc1" TagName="cmp_KS_OkibBin" %> + +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs index bbd5b5d..7843bd8 100644 --- a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.cs @@ -1,4 +1,5 @@ -using System; +using SteamWare; +using System; using System.Collections.Generic; using System.Linq; using System.Web; @@ -7,11 +8,83 @@ using System.Web.UI.WebControls; namespace NKC_WF.WebUserControls { - public partial class cmp_KS_Bin : System.Web.UI.UserControl + public partial class cmp_KS_Bin : BaseUserControl { protected void Page_Load(object sender, EventArgs e) { - + if (!Page.IsPostBack) + { + fixVisibility(); + } } + + protected bool binOk + { + get + { + return BinID > 0; + } + } + + private void fixVisibility() + { + // controllo visualizazione in base ai dati presenti + cmp_KS_currBin.Visible = binOk; + cmp_KS_OkibBin.Visible = binOk; + } + + public void doUpdate() + { + fixVisibility(); + if (binOk) + { + cmp_KS_OkibBin.doUpdate(); + } + } + + /// + /// Bin selezionato + /// + public int BinID + { + get + { + return cmp_KS_currBin.CurrId; + } + set + { + cmp_KS_currBin.CurrId = value; + } + } + /// + /// Matrix Bin selezionato + /// + public string BinDtmx + { + get + { + return cmp_KS_currBin.Dtmx; + } + set + { + cmp_KS_currBin.Dtmx = value; + cmp_KS_OkibBin.Dtmx = value; + } + } + /// + /// Descrizione BIN selezionato (ord ext code) + /// + public string BinDesc + { + get + { + return cmp_KS_currBin.Description; + } + set + { + cmp_KS_currBin.Description = value; + } + } + } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs index 811bd4d..d2b94ae 100644 --- a/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_KS_Bin.ascx.designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ -// +// // Codice generato da uno strumento. // // Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ namespace NKC_WF.WebUserControls @@ -13,5 +13,23 @@ namespace NKC_WF.WebUserControls public partial class cmp_KS_Bin { + + /// + /// Controllo cmp_KS_currBin. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_currBin cmp_KS_currBin; + + /// + /// Controllo cmp_KS_OkibBin. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_OkibBin cmp_KS_OkibBin; } } diff --git a/NKC_WF/WebUserControls/cmp_KS_Cart.ascx b/NKC_WF/WebUserControls/cmp_KS_Cart.ascx index e51b44d..8dff89a 100644 --- a/NKC_WF/WebUserControls/cmp_KS_Cart.ascx +++ b/NKC_WF/WebUserControls/cmp_KS_Cart.ascx @@ -3,12 +3,6 @@ <%@ Register Src="~/WebUserControls/cmp_KS_OkibCart.ascx" TagPrefix="uc1" TagName="cmp_KS_OkibCart" %> <%@ Register Src="~/WebUserControls/cmp_KS_OkoiCart.ascx" TagPrefix="uc1" TagName="cmp_KS_OkoiCart" %> - - - - - -
diff --git a/NKC_WF/site/GlobalSearch.aspx b/NKC_WF/site/GlobalSearch.aspx index 468f7bc..50a2d29 100644 --- a/NKC_WF/site/GlobalSearch.aspx +++ b/NKC_WF/site/GlobalSearch.aspx @@ -3,6 +3,8 @@ <%@ Register Src="~/WebUserControls/cmp_barcode.ascx" TagPrefix="uc1" TagName="cmp_barcode" %> <%@ Register Src="~/WebUserControls/cmp_searchItems.ascx" TagPrefix="uc1" TagName="cmp_searchItems" %> <%@ Register Src="~/WebUserControls/cmp_KS_Cart.ascx" TagPrefix="uc1" TagName="cmp_KS_Cart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_Bin.ascx" TagPrefix="uc1" TagName="cmp_KS_Bin" %> + @@ -15,11 +17,15 @@ +
-

Missing PARTS for CART

+
<%: traduci("SearchDetCart") %>
- +
+
<%: traduci("SearchDetBin") %>
+ +
diff --git a/NKC_WF/site/GlobalSearch.aspx.cs b/NKC_WF/site/GlobalSearch.aspx.cs index 1026fc3..de16bf5 100644 --- a/NKC_WF/site/GlobalSearch.aspx.cs +++ b/NKC_WF/site/GlobalSearch.aspx.cs @@ -39,6 +39,20 @@ namespace NKC_WF.site } } /// + /// BinID selezionato + /// + protected int BinID + { + get + { + return cmp_KS_Bin.BinID; + } + set + { + cmp_KS_Bin.BinID = value; + } + } + /// /// Comando barcode letto /// protected string lastCmd @@ -108,58 +122,62 @@ namespace NKC_WF.site decodedData decoData = DLMan.decodeBcode(lastCmd); switch (decoData.codeType) { - case codeType.UNK: - cmp_barcode.showOutput(cssClass.danger, $"Unknown Data: {decoData.rawData} --> no action"); - doShowResults = false; - break; case codeType.Item: - cmp_barcode.showOutput(cssClass.success, $"Valid IT Code: {decoData.rawData}"); - cmp_searchItems.itemDtmx = decoData.rawData; - ItemID = decoData.codeInt; - CartID = 0; - doShowResults = true; - break; case codeType.ItemGeneric: - cmp_barcode.showOutput(cssClass.success, $"Valid IG Code: {decoData.rawData}"); - cmp_searchItems.itemDtmx = decoData.rawData; - ItemID = decoData.codeInt; - CartID = 0; - doShowResults = true; - break; case codeType.OtherItem: - cmp_barcode.showOutput(cssClass.success, $"Valid Generic PART Code: {decoData.rawData}"); - ItemID = decoData.codeInt; + cmp_barcode.showOutput(cssClass.success, $"{decoData.description}"); + cmp_searchItems.itemDtmx = decoData.rawData; + BinID = 0; CartID = 0; - doShowResults = false; + ItemID = decoData.codeInt; + doShowResults = true; break; case codeType.Material: - cmp_barcode.showOutput(cssClass.warning, $"Material - ignored: {decoData.description}"); + cmp_barcode.showOutput(cssClass.warning, $"{decoData.description}"); doShowResults = false; break; case codeType.Sheet: - cmp_barcode.showOutput(cssClass.warning, $"Sheet - ignored: {decoData.description}"); + cmp_barcode.showOutput(cssClass.warning, $"{decoData.description}"); doShowResults = false; break; case codeType.Stack: - cmp_barcode.showOutput(cssClass.warning, $"BUNK - ignored: {decoData.description}"); + cmp_barcode.showOutput(cssClass.warning, $"{decoData.description}"); doShowResults = false; break; case codeType.Batch: - cmp_barcode.showOutput(cssClass.warning, $"Batch - ignored: {decoData.description}"); + cmp_barcode.showOutput(cssClass.warning, $"{decoData.description}"); doShowResults = false; break; case codeType.Cart: - cmp_barcode.showOutput(cssClass.success, $"Cart : {decoData.description}"); - ItemID = 0; + cmp_barcode.showOutput(cssClass.success, $"{decoData.description}"); + BinID = 0; CartID = decoData.codeInt; + ItemID = 0; cmp_KS_Cart.CartDtmx = decoData.rawData; cmp_KS_Cart.doUpdate(); doShowResults = true; break; case codeType.Bin: - cmp_barcode.showOutput(cssClass.success, $"Bin - ignored: {decoData.description}"); - doShowResults = false; + case codeType.BinProcessed: + cmp_barcode.showOutput(cssClass.success, $"{decoData.description}"); + var tabBin = DLMan.taBN.getByKey(decoData.codeInt); + BinID = decoData.codeInt; + CartID = 0; + ItemID = 0; + cmp_KS_Bin.BinDtmx = decoData.rawData; + if (tabBin.Count > 0) + { + try + { + cmp_KS_Bin.BinDesc = tabBin[0].ItemExtCode; + } + catch + { } + } + cmp_KS_Bin.doUpdate(); + doShowResults = true; break; + case codeType.UNK: default: cmp_barcode.showOutput(cssClass.danger, $"Unknown Data: {decoData.rawData} --> no action"); doShowResults = false; @@ -176,6 +194,7 @@ namespace NKC_WF.site { cmp_searchItems.Visible = showDetail && ItemID > 0; divCart.Visible = showDetail && CartID > 0; + divBin.Visible = showDetail && BinID > 0; } } diff --git a/NKC_WF/site/GlobalSearch.aspx.designer.cs b/NKC_WF/site/GlobalSearch.aspx.designer.cs index fabeea5..1b5c1b3 100644 --- a/NKC_WF/site/GlobalSearch.aspx.designer.cs +++ b/NKC_WF/site/GlobalSearch.aspx.designer.cs @@ -50,6 +50,15 @@ namespace NKC_WF.site /// protected global::NKC_WF.WebUserControls.cmp_searchItems cmp_searchItems; + /// + /// Controllo hfItemID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfItemID; + /// /// Controllo divCart. /// @@ -69,12 +78,21 @@ namespace NKC_WF.site protected global::NKC_WF.WebUserControls.cmp_KS_Cart cmp_KS_Cart; /// - /// Controllo hfItemID. + /// Controllo divBin. /// /// /// Campo generato automaticamente. /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::System.Web.UI.WebControls.HiddenField hfItemID; + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divBin; + + /// + /// Controllo cmp_KS_Bin. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_Bin cmp_KS_Bin; } } From 8ad663813b3f8e6c2e2f16aa946ee0b29404a5e6 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 13:10:30 +0200 Subject: [PATCH 07/25] Aggiunta hlink x aprire missing in action da PList --- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 14 +++++++++++--- NKC_WF/WebUserControls/cmp_kitReqSched.ascx | 1 + 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index 98861bf..4f04dfb 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -11,19 +11,27 @@ <%# traduci("NoKitReqRunning") %> + + +
+ + +
+
+
-
+
-
+
- + <%----%> diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx index ea9d008..227d39f 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx @@ -15,6 +15,7 @@ + From b98587045a117984610d946faaafb9acb623aa0d Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 15:02:49 +0200 Subject: [PATCH 08/25] Aggiunto invio a scrap da MissInAct! e funziona --- AppData/DS_App.Designer.cs | 74 +++++++++++- AppData/DS_App.xsd | 16 ++- AppData/DS_App.xss | 34 +++--- NKC_WF/NKC_WF.csproj | 8 ++ .../WebUserControls/cmp_partMIA_byPLID.ascx | 87 ++++++++++++++ .../cmp_partMIA_byPLID.ascx.cs | 107 ++++++++++++++++++ .../cmp_partMIA_byPLID.ascx.designer.cs | 44 +++++++ NKC_WF/site/PartMIA.aspx | 38 ++++--- NKC_WF/site/PartMIA.aspx.cs | 59 +++++++--- NKC_WF/site/PartMIA.aspx.designer.cs | 18 +++ 10 files changed, 432 insertions(+), 53 deletions(-) create mode 100644 NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx create mode 100644 NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs create mode 100644 NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs index 0f259d0..d66fa10 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; + } } /// @@ -34384,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); } @@ -34397,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()] @@ -34441,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 1f3d50d..3bd5387 100644 --- a/AppData/DS_App.xsd +++ b/AppData/DS_App.xsd @@ -2592,8 +2592,21 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W + - + + + + + dbo.stp_ISD_getMissingByPLID + + + + + + + + @@ -3900,6 +3913,7 @@ FROM v_OKIB + diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss index 3c7c980..3221c78 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,10 +4,10 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - + + @@ -15,32 +15,32 @@ - + - + - + - + - + - - - - - - - - - + + + + + + + + + diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 7def23a..dab1292 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -500,6 +500,7 @@ + @@ -1447,6 +1448,13 @@ cmp_partMIA.ascx + + cmp_partMIA_byPLID.ascx + ASPXCodeBehind + + + cmp_partMIA_byPLID.ascx + cmp_scrapList.ascx ASPXCodeBehind diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx new file mode 100644 index 0000000..858a0d2 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx @@ -0,0 +1,87 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_partMIA_byPLID.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_partMIA_byPLID" %> + + + + + <%----%> + + + +
+ +
+
+
+ + +
+ +
+ +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ + +
+ +
+ +
+
+ + +
+ +
+
+
+ + +
+ +
+ +
+
+ + +
+ +
+ +
+
+ + + + + +
+ + <%: traduci("NoRecord") %> + +
+ + + + + + diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs new file mode 100644 index 0000000..3b62dc5 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs @@ -0,0 +1,107 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_partMIA_byPLID : BaseUserControl + { + /// + /// Postazione attuale (per ora cablata) + /// + protected string PlaceId + { + get + { + return "WRK001"; + } + } + protected void Page_Load(object sender, EventArgs e) + { + + } + /// + /// PLID corrente... + /// + public int PLID + { + set + { + hfPLID.Value = value.ToString(); + doUpdate(); + } + get + { + int answ = 0; + int.TryParse(hfPLID.Value, out answ); + return answ; + } + } +#if false + /// + /// Calcola css da statusID + /// + /// + /// + public string cssByStatus(object _statusID) + { + string answ = "text-secondary"; + int statusID = 0; + int.TryParse(_statusID.ToString(), out statusID); + switch (statusID) + { + case 1: + answ = "text-dark"; + break; + case 2: + answ = "text-warning"; + break; + case 3: + answ = "text-success"; + break; + case 4: + answ = "text-info"; + break; + default: + answ = "text-danger"; + break; + } + return answ; + } +#endif + + public void doUpdate() + { + grView.DataBind(); + } + + public bool checkVisible(object _statusID) + { + bool answ = false; + int StatusID = 0; + int.TryParse(_statusID.ToString(), out StatusID); + answ = StatusID < 900; + return answ; + } + + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + + int ItemId = 0; + int.TryParse(grView.SelectedValue.ToString(), out ItemId); + if (ItemId > 0) + { + + // resetto item selezionato... + DLMan.taIL.updateStatus(ItemId, 990, PlaceId); + lgInfo($"cmp_partMIA_byPLID | SCRAP | Status --> 990 | itemIdSelected: {ItemId} | PlaceId: {PlaceId}"); + grView.SelectedIndex = -1; + grView.DataBind(); + raiseEvent(); + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs new file mode 100644 index 0000000..b9121b7 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_partMIA_byPLID + { + + /// + /// Controllo grView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo hfPLID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfPLID; + } +} diff --git a/NKC_WF/site/PartMIA.aspx b/NKC_WF/site/PartMIA.aspx index d22b2f5..0f1bf6d 100644 --- a/NKC_WF/site/PartMIA.aspx +++ b/NKC_WF/site/PartMIA.aspx @@ -1,24 +1,30 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" CodeBehind="PartMIA.aspx.cs" Inherits="NKC_WF.site.PartMIA" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="PartMIA.aspx.cs" Inherits="NKC_WF.site.PartMIA" %> <%@ Register Src="~/WebUserControls/cmp_partMIA.ascx" TagPrefix="uc1" TagName="cmp_partMIA" %> +<%@ Register Src="~/WebUserControls/cmp_partMIA_byPLID.ascx" TagPrefix="uc1" TagName="cmp_partMIA_byPLID" %> + - - - -
-
-

<%: traduci("PartMIA") %> (<%: hfBatchID.Value %>)

- -
-
-
-
- +
+ + + +
+
+

<%: traduci("PartMIA") %> +

+ +
+
+
+
+ + +
-
- - + + +
diff --git a/NKC_WF/site/PartMIA.aspx.cs b/NKC_WF/site/PartMIA.aspx.cs index 96db537..11abdb1 100644 --- a/NKC_WF/site/PartMIA.aspx.cs +++ b/NKC_WF/site/PartMIA.aspx.cs @@ -1,4 +1,5 @@ using AppData; +using SteamWare; using System; using System.Collections.Generic; using System.Linq; @@ -10,6 +11,20 @@ namespace NKC_WF.site { public partial class PartMIA : BasePage { + protected int PLID + { + get + { + int answ = 0; + try + { + answ = memLayer.ML.QSI("PLID"); + } + catch + { } + return answ; + } + } /// /// Codice macchina (HARD CODED x ora) /// @@ -19,7 +34,7 @@ namespace NKC_WF.site if (!Page.IsPostBack) { - ((SiteContent)this.Master).showSearch = false; + ((SiteMaster)this.Master).showSearch = false; doUpdate(); } } @@ -33,6 +48,8 @@ namespace NKC_WF.site { hfBatchID.Value = value.ToString(); cmp_partMIA.BatchId = BatchId; + lblBatchId.Text = $"({value})"; + lblBatchId.Visible = value > 0; } get { @@ -54,26 +71,36 @@ namespace NKC_WF.site ///
private void doUpdate() { - bool needUpdate = false; - // recupero bunk corrente... - DS_App.StackListRow currBunk = ComLib.getCurrBunk(); - if (currBunk != null) + if (PLID > 0) { - bool chgBtLocal = BatchId != currBunk.BatchID; - bool chgBtCache = savedBatchId != currBunk.BatchID; - if (chgBtLocal || chgBtCache) - { - BatchId = currBunk.BatchID; - needUpdate = true; - } + cmp_partMIA.Visible = false; + cmp_partMIA_byPLID.Visible = true; + cmp_partMIA_byPLID.PLID = PLID; + cmp_partMIA_byPLID.doUpdate(); } else { - BatchId = 0; - ComLib.setCurrBunkId(machine, 0); - ComLib.man.resetSheetUnload(0); + cmp_partMIA.Visible = true; + cmp_partMIA_byPLID.Visible = false; + // recupero bunk corrente... + DS_App.StackListRow currBunk = ComLib.getCurrBunk(); + if (currBunk != null) + { + bool chgBtLocal = BatchId != currBunk.BatchID; + bool chgBtCache = savedBatchId != currBunk.BatchID; + if (chgBtLocal || chgBtCache) + { + BatchId = currBunk.BatchID; + } + } + else + { + BatchId = 0; + //ComLib.setCurrBunkId(machine, 0); + //ComLib.man.resetSheetUnload(0); + } + cmp_partMIA.doUpdate(); } - cmp_partMIA.doUpdate(); } /// /// Main timer diff --git a/NKC_WF/site/PartMIA.aspx.designer.cs b/NKC_WF/site/PartMIA.aspx.designer.cs index 1de7d4e..6c51e97 100644 --- a/NKC_WF/site/PartMIA.aspx.designer.cs +++ b/NKC_WF/site/PartMIA.aspx.designer.cs @@ -32,6 +32,15 @@ namespace NKC_WF.site /// protected global::System.Web.UI.Timer timerMain; + /// + /// Controllo lblBatchId. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblBatchId; + /// /// Controllo hfBatchID. /// @@ -58,5 +67,14 @@ namespace NKC_WF.site /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::NKC_WF.WebUserControls.cmp_partMIA cmp_partMIA; + + /// + /// Controllo cmp_partMIA_byPLID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_partMIA_byPLID cmp_partMIA_byPLID; } } From ea1d258ce594a81b7f344d65c4874364be24630e Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Aug 2020 15:09:16 +0200 Subject: [PATCH 09/25] Fix paginazione num righe x part missing x KITTING PLID --- NKC_WF/WebUserControls/cmp_partMIA.ascx.cs | 11 +++++++++++ NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs | 11 +++++++++++ NKC_WF/site/PartMIA.aspx | 10 ++++++++++ NKC_WF/site/PartMIA.aspx.cs | 8 ++++++++ NKC_WF/site/PartMIA.aspx.designer.cs | 9 +++++++++ 5 files changed, 49 insertions(+) diff --git a/NKC_WF/WebUserControls/cmp_partMIA.ascx.cs b/NKC_WF/WebUserControls/cmp_partMIA.ascx.cs index f3f051b..03b30f7 100644 --- a/NKC_WF/WebUserControls/cmp_partMIA.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_partMIA.ascx.cs @@ -65,5 +65,16 @@ namespace NKC_WF.WebUserControls { grView.DataBind(); } + public int numRow + { + get + { + return grView.PageSize; + } + set + { + grView.PageSize = value; + } + } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs index 3b62dc5..d3fb064 100644 --- a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs @@ -103,5 +103,16 @@ namespace NKC_WF.WebUserControls raiseEvent(); } } + public int numRow + { + get + { + return grView.PageSize; + } + set + { + grView.PageSize = value; + } + } } } \ No newline at end of file diff --git a/NKC_WF/site/PartMIA.aspx b/NKC_WF/site/PartMIA.aspx index 0f1bf6d..d7a384c 100644 --- a/NKC_WF/site/PartMIA.aspx +++ b/NKC_WF/site/PartMIA.aspx @@ -2,6 +2,8 @@ <%@ Register Src="~/WebUserControls/cmp_partMIA.ascx" TagPrefix="uc1" TagName="cmp_partMIA" %> <%@ Register Src="~/WebUserControls/cmp_partMIA_byPLID.ascx" TagPrefix="uc1" TagName="cmp_partMIA_byPLID" %> +<%@ Register Src="~/WebUserControls/cmp_numRow.ascx" TagPrefix="uc1" TagName="cmp_numRow" %> + @@ -23,6 +25,14 @@
+ +
diff --git a/NKC_WF/site/PartMIA.aspx.cs b/NKC_WF/site/PartMIA.aspx.cs index 11abdb1..6a4f32a 100644 --- a/NKC_WF/site/PartMIA.aspx.cs +++ b/NKC_WF/site/PartMIA.aspx.cs @@ -1,4 +1,5 @@ using AppData; +using NKC_WF.WebUserControls; using SteamWare; using System; using System.Collections.Generic; @@ -37,6 +38,13 @@ namespace NKC_WF.site ((SiteMaster)this.Master).showSearch = false; doUpdate(); } + cmp_numRow.eh_doRefresh += cmp_numRow_eh_doRefresh; + } + + private void cmp_numRow_eh_doRefresh(object sender, EventArgs e) + { + cmp_partMIA.numRow = cmp_numRow.numRow; + cmp_partMIA_byPLID.numRow = cmp_numRow.numRow; } /// diff --git a/NKC_WF/site/PartMIA.aspx.designer.cs b/NKC_WF/site/PartMIA.aspx.designer.cs index 6c51e97..2773b70 100644 --- a/NKC_WF/site/PartMIA.aspx.designer.cs +++ b/NKC_WF/site/PartMIA.aspx.designer.cs @@ -76,5 +76,14 @@ namespace NKC_WF.site /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::NKC_WF.WebUserControls.cmp_partMIA_byPLID cmp_partMIA_byPLID; + + /// + /// Controllo cmp_numRow. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_numRow cmp_numRow; } } From 21ae1a7356f9bd5f97cf01106605036702ab1c77 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Sat, 22 Aug 2020 12:09:03 +0200 Subject: [PATCH 10/25] update testo colonne --- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 4 ++-- NKC_WF/WebUserControls/cmp_kitReqSched.ascx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index 4f04dfb..ca21ed0 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -32,11 +32,11 @@ <%----%> - + - + diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx index 227d39f..e202e0b 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx @@ -19,18 +19,18 @@ - + - + - + From ad5afbd31d097f8a0d51272320a7161ea2631acb Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 10:31:05 +0200 Subject: [PATCH 11/25] Inizio inclusione nuove stored --- AppData/DS_App.xsd | 94 +++++++++++++++++------------------ AppData/DS_App.xss | 4 +- AppData/DS_Report.Designer.cs | 94 +++++++++++++++++++++++++++++++++-- AppData/DS_Report.xsd | 20 +++++--- AppData/DS_Report.xss | 4 +- 5 files changed, 153 insertions(+), 63 deletions(-) diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd index 3bd5387..a35b245 100644 --- a/AppData/DS_App.xsd +++ b/AppData/DS_App.xsd @@ -3066,7 +3066,7 @@ FROM v_OKIB - + @@ -3116,7 +3116,7 @@ FROM v_OKIB - + @@ -3141,7 +3141,7 @@ FROM v_OKIB - + @@ -3196,7 +3196,7 @@ FROM v_OKIB - + @@ -3269,7 +3269,7 @@ FROM v_OKIB - + @@ -3277,7 +3277,7 @@ FROM v_OKIB - + @@ -3346,7 +3346,7 @@ FROM v_OKIB - + @@ -3379,7 +3379,7 @@ FROM v_OKIB - + @@ -3420,7 +3420,7 @@ FROM v_OKIB - + @@ -3439,7 +3439,7 @@ FROM v_OKIB - + @@ -3470,7 +3470,7 @@ FROM v_OKIB - + @@ -3478,7 +3478,7 @@ FROM v_OKIB - + @@ -3495,7 +3495,7 @@ FROM v_OKIB - + @@ -3504,7 +3504,7 @@ FROM v_OKIB - + @@ -3535,7 +3535,7 @@ FROM v_OKIB - + @@ -3543,7 +3543,7 @@ FROM v_OKIB - + @@ -3559,7 +3559,7 @@ FROM v_OKIB - + @@ -3567,7 +3567,7 @@ FROM v_OKIB - + @@ -3595,7 +3595,7 @@ FROM v_OKIB - + @@ -3631,7 +3631,7 @@ FROM v_OKIB - + @@ -3647,7 +3647,7 @@ FROM v_OKIB - + @@ -3657,7 +3657,7 @@ FROM v_OKIB - + @@ -3674,7 +3674,7 @@ FROM v_OKIB - + @@ -3687,7 +3687,7 @@ FROM v_OKIB - + @@ -3736,7 +3736,7 @@ FROM v_OKIB - + @@ -3765,7 +3765,7 @@ FROM v_OKIB - + @@ -3807,7 +3807,7 @@ FROM v_OKIB - + @@ -3917,7 +3917,7 @@ FROM v_OKIB - + @@ -3980,7 +3980,7 @@ FROM v_OKIB - + @@ -4025,7 +4025,7 @@ FROM v_OKIB - + @@ -4051,7 +4051,7 @@ FROM v_OKIB - + @@ -4144,7 +4144,7 @@ FROM v_OKIB - + @@ -4207,7 +4207,7 @@ FROM v_OKIB - + @@ -4266,7 +4266,7 @@ FROM v_OKIB - + @@ -4315,7 +4315,7 @@ FROM v_OKIB - + @@ -4474,18 +4474,18 @@ FROM v_OKIB - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss index 3221c78..0aba978 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + @@ -13,7 +13,7 @@ - + diff --git a/AppData/DS_Report.Designer.cs b/AppData/DS_Report.Designer.cs index 376a550..82a1af2 100644 --- a/AppData/DS_Report.Designer.cs +++ b/AppData/DS_Report.Designer.cs @@ -1560,6 +1560,8 @@ namespace AppData { private global::System.Data.DataColumn columnQRCodeBaseUrl; + private global::System.Data.DataColumn columnPaintDate; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public stp_prt_BinDataTable() { @@ -1689,6 +1691,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 PaintDateColumn { + get { + return this.columnPaintDate; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] [global::System.ComponentModel.Browsable(false)] @@ -1726,7 +1736,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 PaintDate) { stp_prt_BinRow rowstp_prt_BinRow = ((stp_prt_BinRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, @@ -1740,7 +1750,8 @@ namespace AppData { BinDtmxProc, TotItem, PathImageFull, - QRCodeBaseUrl}; + QRCodeBaseUrl, + PaintDate}; rowstp_prt_BinRow.ItemArray = columnValuesArray; this.Rows.Add(rowstp_prt_BinRow); return rowstp_prt_BinRow; @@ -1782,6 +1793,7 @@ namespace AppData { this.columnTotItem = base.Columns["TotItem"]; this.columnPathImageFull = base.Columns["PathImageFull"]; this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; + this.columnPaintDate = base.Columns["PaintDate"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1811,6 +1823,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.columnPaintDate = new global::System.Data.DataColumn("PaintDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPaintDate); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnBinID}, true)); this.columnBinID.AutoIncrement = true; @@ -2295,6 +2309,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 +2408,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 +2453,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 +2463,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 +2502,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 +2524,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; @@ -3954,6 +3982,22 @@ namespace AppData { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public System.DateTime PaintDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prt_Bin.PaintDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'PaintDate\' nella tabella \'stp_prt_Bin\' è DBNull.", e); + } + } + set { + this[this.tablestp_prt_Bin.PaintDateColumn] = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] public bool IsflgPreOrPostNull() { @@ -4073,6 +4117,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 IsPaintDateNull() { + return this.IsNull(this.tablestp_prt_Bin.PaintDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPaintDateNull() { + this[this.tablestp_prt_Bin.PaintDateColumn] = global::System.Convert.DBNull; + } } /// @@ -4317,6 +4373,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 +4460,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; + } } /// @@ -6517,6 +6601,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("PaintDate", "PaintDate"); this._adapter.TableMappings.Add(tableMapping); } @@ -6941,6 +7026,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); } diff --git a/AppData/DS_Report.xsd b/AppData/DS_Report.xsd index 6978255..85baba0 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 + @@ -431,7 +433,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -463,7 +465,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -495,7 +497,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -522,7 +524,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -585,10 +587,11 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + - + @@ -616,7 +619,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -651,10 +654,11 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + - + @@ -700,7 +704,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + diff --git a/AppData/DS_Report.xss b/AppData/DS_Report.xss index a6debca..59d6470 100644 --- a/AppData/DS_Report.xss +++ b/AppData/DS_Report.xss @@ -9,9 +9,9 @@ - + - + From 07da1c5e51545a182eddd3c5e58f8fb621b7ede9 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 11:57:07 +0200 Subject: [PATCH 12/25] new rel --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 096eeab..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=352']) { + 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}') From 571c0bdb0c4bff99599e0ee07ca3b8cf33a6c05b Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 11:57:17 +0200 Subject: [PATCH 13/25] nascondo date import x KIT --- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 2 +- NKC_WF/WebUserControls/cmp_kitReqSched.ascx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index ca21ed0..3e5caa6 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -36,7 +36,7 @@ - + <%----%> diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx index e202e0b..80a98a0 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx @@ -16,7 +16,7 @@ - + @@ -28,9 +28,9 @@ - + - + <%----%> From c11635a32171c4e67313732255748a672d28719e Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 11:57:27 +0200 Subject: [PATCH 14/25] update x versione SENZA due date x KIT --- AppData/DS_App.Designer.cs | 2 +- AppData/DS_App.xsd | 97 +++++++++++++++++++------------------- AppData/DS_App.xss | 4 +- 3 files changed, 52 insertions(+), 51 deletions(-) diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs index d66fa10..7d6870f 100644 --- a/AppData/DS_App.Designer.cs +++ b/AppData/DS_App.Designer.cs @@ -33878,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; diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd index a35b245..a88cd83 100644 --- a/AppData/DS_App.xsd +++ b/AppData/DS_App.xsd @@ -2422,7 +2422,8 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W - SELECT * FROM v_PackList + SELECT * +FROM v_PackList @@ -3066,7 +3067,7 @@ FROM v_OKIB - + @@ -3116,7 +3117,7 @@ FROM v_OKIB - + @@ -3141,7 +3142,7 @@ FROM v_OKIB - + @@ -3196,7 +3197,7 @@ FROM v_OKIB - + @@ -3269,7 +3270,7 @@ FROM v_OKIB - + @@ -3277,7 +3278,7 @@ FROM v_OKIB - + @@ -3346,7 +3347,7 @@ FROM v_OKIB - + @@ -3379,7 +3380,7 @@ FROM v_OKIB - + @@ -3420,7 +3421,7 @@ FROM v_OKIB - + @@ -3439,7 +3440,7 @@ FROM v_OKIB - + @@ -3470,7 +3471,7 @@ FROM v_OKIB - + @@ -3478,7 +3479,7 @@ FROM v_OKIB - + @@ -3495,7 +3496,7 @@ FROM v_OKIB - + @@ -3504,7 +3505,7 @@ FROM v_OKIB - + @@ -3535,7 +3536,7 @@ FROM v_OKIB - + @@ -3543,7 +3544,7 @@ FROM v_OKIB - + @@ -3559,7 +3560,7 @@ FROM v_OKIB - + @@ -3567,7 +3568,7 @@ FROM v_OKIB - + @@ -3595,7 +3596,7 @@ FROM v_OKIB - + @@ -3631,7 +3632,7 @@ FROM v_OKIB - + @@ -3647,7 +3648,7 @@ FROM v_OKIB - + @@ -3657,7 +3658,7 @@ FROM v_OKIB - + @@ -3674,7 +3675,7 @@ FROM v_OKIB - + @@ -3687,7 +3688,7 @@ FROM v_OKIB - + @@ -3736,7 +3737,7 @@ FROM v_OKIB - + @@ -3765,7 +3766,7 @@ FROM v_OKIB - + @@ -3807,7 +3808,7 @@ FROM v_OKIB - + @@ -3917,7 +3918,7 @@ FROM v_OKIB - + @@ -3980,7 +3981,7 @@ FROM v_OKIB - + @@ -4025,7 +4026,7 @@ FROM v_OKIB - + @@ -4051,7 +4052,7 @@ FROM v_OKIB - + @@ -4144,7 +4145,7 @@ FROM v_OKIB - + @@ -4207,7 +4208,7 @@ FROM v_OKIB - + @@ -4266,7 +4267,7 @@ FROM v_OKIB - + @@ -4315,7 +4316,7 @@ FROM v_OKIB - + @@ -4474,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 0aba978..3bc1754 100644 --- a/AppData/DS_App.xss +++ b/AppData/DS_App.xss @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + @@ -34,7 +34,7 @@ - + From 0e70531a782c8cde3ead678907a77f5c60b93976 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 12:31:10 +0200 Subject: [PATCH 15/25] Update gestione errori offline prima di check draw --- NKC_WF/Controllers/BatchProcController.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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); From e39020772280ba7b7519dff5cbfbb203316b37cd Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 12:31:19 +0200 Subject: [PATCH 16/25] Aggiunt apagina kitadv preliminare --- NKC_WF/site/KitingSmartAdv.aspx | 3 +++ NKC_WF/site/KitingSmartAdv.aspx.cs | 17 +++++++++++++++++ NKC_WF/site/KitingSmartAdv.aspx.designer.cs | 17 +++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 NKC_WF/site/KitingSmartAdv.aspx create mode 100644 NKC_WF/site/KitingSmartAdv.aspx.cs create mode 100644 NKC_WF/site/KitingSmartAdv.aspx.designer.cs diff --git a/NKC_WF/site/KitingSmartAdv.aspx b/NKC_WF/site/KitingSmartAdv.aspx new file mode 100644 index 0000000..13446b1 --- /dev/null +++ b/NKC_WF/site/KitingSmartAdv.aspx @@ -0,0 +1,3 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="KitingSmartAdv.aspx.cs" Inherits="NKC_WF.site.KitingSmartAdv" %> + + diff --git a/NKC_WF/site/KitingSmartAdv.aspx.cs b/NKC_WF/site/KitingSmartAdv.aspx.cs new file mode 100644 index 0000000..291c47f --- /dev/null +++ b/NKC_WF/site/KitingSmartAdv.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.site +{ + public partial class KitingSmartAdv : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/NKC_WF/site/KitingSmartAdv.aspx.designer.cs b/NKC_WF/site/KitingSmartAdv.aspx.designer.cs new file mode 100644 index 0000000..d48beb5 --- /dev/null +++ b/NKC_WF/site/KitingSmartAdv.aspx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.site +{ + + + public partial class KitingSmartAdv + { + } +} From a0bf95560a3486e9904ee3eb4fc154655b516759 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 15:22:37 +0200 Subject: [PATCH 17/25] fix rename --- NKC_WF/site/KitingSmartAdv.aspx | 3 - NKC_WF/site/KitingSmartAdv.aspx.cs | 17 ----- NKC_WF/site/KitingSmartAdv.aspx.designer.cs | 17 ----- NKC_WF/site/KittingSmartAdv.aspx | 12 ++++ NKC_WF/site/KittingSmartAdv.aspx.cs | 69 ++++++++++++++++++++ NKC_WF/site/KittingSmartAdv.aspx.designer.cs | 35 ++++++++++ 6 files changed, 116 insertions(+), 37 deletions(-) delete mode 100644 NKC_WF/site/KitingSmartAdv.aspx delete mode 100644 NKC_WF/site/KitingSmartAdv.aspx.cs delete mode 100644 NKC_WF/site/KitingSmartAdv.aspx.designer.cs create mode 100644 NKC_WF/site/KittingSmartAdv.aspx create mode 100644 NKC_WF/site/KittingSmartAdv.aspx.cs create mode 100644 NKC_WF/site/KittingSmartAdv.aspx.designer.cs diff --git a/NKC_WF/site/KitingSmartAdv.aspx b/NKC_WF/site/KitingSmartAdv.aspx deleted file mode 100644 index 13446b1..0000000 --- a/NKC_WF/site/KitingSmartAdv.aspx +++ /dev/null @@ -1,3 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="KitingSmartAdv.aspx.cs" Inherits="NKC_WF.site.KitingSmartAdv" %> - - diff --git a/NKC_WF/site/KitingSmartAdv.aspx.cs b/NKC_WF/site/KitingSmartAdv.aspx.cs deleted file mode 100644 index 291c47f..0000000 --- a/NKC_WF/site/KitingSmartAdv.aspx.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace NKC_WF.site -{ - public partial class KitingSmartAdv : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - - } - } -} \ No newline at end of file diff --git a/NKC_WF/site/KitingSmartAdv.aspx.designer.cs b/NKC_WF/site/KitingSmartAdv.aspx.designer.cs deleted file mode 100644 index d48beb5..0000000 --- a/NKC_WF/site/KitingSmartAdv.aspx.designer.cs +++ /dev/null @@ -1,17 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. -// -// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// -//------------------------------------------------------------------------------ - -namespace NKC_WF.site -{ - - - public partial class KitingSmartAdv - { - } -} diff --git a/NKC_WF/site/KittingSmartAdv.aspx b/NKC_WF/site/KittingSmartAdv.aspx new file mode 100644 index 0000000..7020dfb --- /dev/null +++ b/NKC_WF/site/KittingSmartAdv.aspx @@ -0,0 +1,12 @@ +<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="KittingSmartAdv.aspx.cs" Inherits="NKC_WF.site.KittingSmartAdv" %> + +<%@ Register Src="~/WebUserControls/cmp_kittingSmartAdv.ascx" TagPrefix="uc1" TagName="cmp_kittingSmartAdv" %> + + + +
+ + + +
+
diff --git a/NKC_WF/site/KittingSmartAdv.aspx.cs b/NKC_WF/site/KittingSmartAdv.aspx.cs new file mode 100644 index 0000000..95d85e9 --- /dev/null +++ b/NKC_WF/site/KittingSmartAdv.aspx.cs @@ -0,0 +1,69 @@ +using AppData; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.site +{ + public partial class KittingSmartAdv : BasePage + { + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + ((SiteMaster)this.Master).showSearch = false; + doUpdate(); + } +#if false + cmp_kittingSmart.eh_doRefresh += cmp_kittingSmart_eh_doRefresh; +#endif + } + + private void cmp_kittingSmart_eh_doRefresh(object sender, EventArgs e) + { + } + + /// + /// PéackList corrente... + /// + public int PackListID + { + set + { + hfPackListID.Value = value.ToString(); + } + get + { + int answ = 0; + int.TryParse(hfPackListID.Value, out answ); + return answ; + } + } + /// + /// Aggiorna componente principale e child components + /// + private void doUpdate() + { + setCurrData(); +#if false + // aggiorno child + cmp_kittingSmart.PackListID = PackListID; +#endif + } + /// + /// Imposta dati correnti (Bunk / Sheet) + /// + private void setCurrData() + { + // recupero PackList + var currPL = ComLib.getCurrPackList(); + if (currPL != null) + { + PackListID = currPL.PackListID; + } + } + } +} \ No newline at end of file diff --git a/NKC_WF/site/KittingSmartAdv.aspx.designer.cs b/NKC_WF/site/KittingSmartAdv.aspx.designer.cs new file mode 100644 index 0000000..1c9de28 --- /dev/null +++ b/NKC_WF/site/KittingSmartAdv.aspx.designer.cs @@ -0,0 +1,35 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.site +{ + + + public partial class KittingSmartAdv + { + + /// + /// Controllo hfPackListID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfPackListID; + + /// + /// Controllo cmp_kittingSmartAdv. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_kittingSmartAdv cmp_kittingSmartAdv; + } +} From a738c705ad4966237103fab8eb0ecbaba8c32db5 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 15:22:55 +0200 Subject: [PATCH 18/25] =?UTF-8?q?modifiche=20x=20poter=20poi=20gestire=20v?= =?UTF-8?q?isiilit=C3=A0=20in=20SMART?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 7 +++---- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs | 13 +++++++++++++ .../cmp_kitReqRunning.ascx.designer.cs | 9 +++++++++ NKC_WF/WebUserControls/cmp_kitReqSched.ascx | 9 +++------ NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs | 13 +++++++++++++ .../cmp_kitReqSched.ascx.designer.cs | 9 +++++++++ 6 files changed, 50 insertions(+), 10 deletions(-) diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index 3e5caa6..7fe5010 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -1,7 +1,7 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kitReqRunning.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kitReqRunning" %> <%@ Register Src="~/WebUserControls/cmp_KR_cart.ascx" TagPrefix="uc1" TagName="cmp_KR_cart" %> -

<%: traduci("RunningKitReq") %>

+

<%: traduci("RunningKitReq") %>

@@ -32,10 +32,8 @@ <%----%> + - - - <%----%> @@ -50,3 +48,4 @@ + diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs index 4b98818..f69543d 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs @@ -25,6 +25,19 @@ namespace NKC_WF.WebUserControls cmp_KR_cart.doUpdate(); } + protected bool showFull + { + get + { + bool answ = false; + bool.TryParse(hfShowFull.Value, out answ); + return answ; + } + set + { + hfShowFull.Value = value.ToString(); + } + } protected void grView_SelectedIndexChanged(object sender, EventArgs e) { int PackListId = 0; diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.designer.cs index cbafcc6..e6d9c6d 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.designer.cs @@ -40,5 +40,14 @@ namespace NKC_WF.WebUserControls /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::NKC_WF.WebUserControls.cmp_KR_cart cmp_KR_cart; + + /// + /// Controllo hfShowFull. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfShowFull; } } diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx index 80a98a0..c4369e6 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx @@ -1,8 +1,7 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kitReqSched.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kitReqSched" %> -

- <%: traduci("ScheduledKitReq") %>

+

<%: traduci("ScheduledKitReq") %>

@@ -26,10 +25,8 @@ + - - - <%----%> @@ -38,5 +35,5 @@ - + diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs index a428c7a..2064966 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs @@ -29,6 +29,19 @@ namespace NKC_WF.WebUserControls hfNumRows.Value = value.ToString(); } } + protected bool showFull + { + get + { + bool answ = false; + bool.TryParse(hfShowFull.Value, out answ); + return answ; + } + set + { + hfShowFull.Value = value.ToString(); + } + } internal void doUpdate() { diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.designer.cs index 7b3761c..1123bb4 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.designer.cs @@ -49,5 +49,14 @@ namespace NKC_WF.WebUserControls /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.HiddenField hfNumRows; + + /// + /// Controllo hfShowFull. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfShowFull; } } From 7e0a8e9c5db953aabd0d3a4865736794d10c5ad5 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 15:23:05 +0200 Subject: [PATCH 19/25] continuo sviluppo smart kit adv --- NKC_WF/NKC_WF.csproj | 24 + .../WebUserControls/cmp_kittingSmartAdv.ascx | 88 ++ .../cmp_kittingSmartAdv.ascx.cs | 200 +++++ .../cmp_kittingSmartAdv.ascx.designer.cs | 143 +++ .../cmp_kittingSmartAdvBcode.ascx | 74 ++ .../cmp_kittingSmartAdvBcode.ascx.cs | 832 ++++++++++++++++++ .../cmp_kittingSmartAdvBcode.ascx.designer.cs | 242 +++++ NKC_WF/site/KitRequestSched.aspx | 4 +- 8 files changed, 1605 insertions(+), 2 deletions(-) create mode 100644 NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx create mode 100644 NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs create mode 100644 NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs create mode 100644 NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx create mode 100644 NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs create mode 100644 NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.designer.cs diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index dab1292..b7fd25e 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -417,6 +417,7 @@ + @@ -462,6 +463,8 @@ + + @@ -818,6 +821,13 @@ Home.aspx + + KittingSmartAdv.aspx + ASPXCodeBehind + + + KittingSmartAdv.aspx + KitRequestImporter.aspx ASPXCodeBehind @@ -1175,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 diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx new file mode 100644 index 0000000..e756864 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx @@ -0,0 +1,88 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kittingSmartAdv.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kittingSmartAdv" %> +<%@ Register Src="~/WebUserControls/cmp_kitReqRunning.ascx" TagPrefix="uc1" TagName="cmp_kitReqRunning" %> +<%@ Register Src="~/WebUserControls/cmp_kitReqSched.ascx" TagPrefix="uc1" TagName="cmp_kitReqSched" %> + + + + +
+ + +
+

<%: traduci("KittingSmartAdv") %>

+
+
+
+ +
+
+ 1) <%: traduci("KitSuspend") %> +
+
+ +
+
+
+ +
+
+ 2) <%: traduci("KitReorder") %> +
+
+ +
+
+
+ +
+
+ 3) <%: traduci("ReloadPart") %> +
+
+ +
+
+
+ +
+
+ 4) <%: traduci("InvalidatePart") %> +
+
+ +
+
+
+ +
+
+ 5) <%: traduci("InvalidateCart") %> +
+
+ +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+ diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs new file mode 100644 index 0000000..4e291a5 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs @@ -0,0 +1,200 @@ +using AppData; +using NKC_SDK; +using SteamWare; +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Linq; +using System.Net.Http.Headers; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_kittingSmartAdv : BaseUserControl + { + /// + /// ID univoco da IP + /// + protected string DeviceId + { + set + { + hfDeviceId.Value = value; + } + get + { + return hfDeviceId.Value; + } + } + /// + /// Postazione attuale (per ora cablata) + /// + protected string PlaceId + { + get + { + return "WRK001"; + } + } + + /// + /// Sheet selezionato... + /// + protected KitAdvMode ActiveMode + { + set + { + hfActiveMode.Value = value.ToString(); + } + get + { + KitAdvMode answ = KitAdvMode.NA; + try + { + answ = (KitAdvMode)Enum.Parse(typeof(KitAdvMode), hfActiveMode.Value); + } + catch + { } + return answ; + } + } + /// + /// Aggiorna dati correnti (IP, batch, sheet...) + /// + protected void updateCurrData() + { + DeviceId = ComLib.GetIPAddress().Replace(".", "0").Replace(":", "0"); + // check button visibility + status attivo + divAct01.Visible = false; + divAct02.Visible = false; + divAct03.Visible = false; + divAct04.Visible = false; + divAct05.Visible = false; + lbtKitSusp.Visible = false; + lbtKitReorder.Visible = false; + lbtKitReloadPart.Visible = false; + lbtKitInvalidatePart.Visible = false; + lbtKitInvalidateCart.Visible = false; + switch (ActiveMode) + { + case KitAdvMode.PauseKit: + lbtKitSusp.Visible = true; + divAct01.Visible = true; + break; + case KitAdvMode.PartsReorder: + lbtKitReorder.Visible = true; + divAct02.Visible = true; + break; + case KitAdvMode.PartsReload: + lbtKitReloadPart.Visible = true; + divAct03.Visible = true; + break; + case KitAdvMode.PartInvalidate: + lbtKitInvalidatePart.Visible = true; + divAct04.Visible = true; + break; + case KitAdvMode.CartInvalidate: + lbtKitInvalidateCart.Visible = true; + divAct05.Visible = true; + break; + case KitAdvMode.NA: + default: + lbtKitSusp.Visible = true; + lbtKitReorder.Visible = true; + lbtKitReloadPart.Visible = true; + lbtKitInvalidatePart.Visible = true; + lbtKitInvalidateCart.Visible = true; + break; + } + } + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + ActiveMode = (int)KitAdvMode.NA; + updateCurrData(); + } + } + + protected void lbtKitSusp_Click(object sender, EventArgs e) + { + if(ActiveMode== KitAdvMode.NA) + { + ActiveMode = KitAdvMode.PauseKit; + } + else + { + ActiveMode = KitAdvMode.NA; + } + updateCurrData(); + } + + protected void lbtKitReorder_Click(object sender, EventArgs e) + { + + if (ActiveMode == KitAdvMode.NA) + { + ActiveMode = KitAdvMode.PartsReorder; + } + else + { + ActiveMode = KitAdvMode.NA; + } + updateCurrData(); + } + + protected void lbtKitReloadPart_Click(object sender, EventArgs e) + { + + if (ActiveMode == KitAdvMode.NA) + { + ActiveMode = KitAdvMode.PartsReload; + } + else + { + ActiveMode = KitAdvMode.NA; + } + updateCurrData(); + } + + protected void lbtKitInvalidatePart_Click(object sender, EventArgs e) + { + + if (ActiveMode == KitAdvMode.NA) + { + ActiveMode = KitAdvMode.PartInvalidate; + } + else + { + ActiveMode = KitAdvMode.NA; + } + updateCurrData(); + } + + protected void lbtKitInvalidateCart_Click(object sender, EventArgs e) + { + + if (ActiveMode == KitAdvMode.NA) + { + ActiveMode = KitAdvMode.CartInvalidate; + } + else + { + ActiveMode = KitAdvMode.NA; + } + updateCurrData(); + } + } + + public enum KitAdvMode + { + NA = 0, + PauseKit, + PartsReorder, + PartsReload, + PartInvalidate, + CartInvalidate + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs new file mode 100644 index 0000000..8637387 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs @@ -0,0 +1,143 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_kittingSmartAdv + { + + /// + /// Controllo hfActiveMode. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfActiveMode; + + /// + /// Controllo hfDeviceId. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfDeviceId; + + /// + /// Controllo lbtKitSusp. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtKitSusp; + + /// + /// Controllo lbtKitReorder. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtKitReorder; + + /// + /// Controllo lbtKitReloadPart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtKitReloadPart; + + /// + /// Controllo lbtKitInvalidatePart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtKitInvalidatePart; + + /// + /// Controllo lbtKitInvalidateCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtKitInvalidateCart; + + /// + /// Controllo divAct01. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAct01; + + /// + /// Controllo cmp_kitReqRunning. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_kitReqRunning cmp_kitReqRunning; + + /// + /// Controllo cmp_kitReqSched. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_kitReqSched cmp_kitReqSched; + + /// + /// Controllo divAct02. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAct02; + + /// + /// Controllo divAct03. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAct03; + + /// + /// Controllo divAct04. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAct04; + + /// + /// Controllo divAct05. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAct05; + } +} diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx new file mode 100644 index 0000000..caa9af4 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx @@ -0,0 +1,74 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kittingSmartAdvBcode.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kittingSmartAdvBcode" %> + +<%@ Register Src="~/WebUserControls/cmp_barcode.ascx" TagPrefix="uc1" TagName="cmp_barcode" %> +<%@ Register Src="~/WebUserControls/cmp_KS_BinCart.ascx" TagPrefix="uc1" TagName="cmp_KS_BinCart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_OtherItemsCart.ascx" TagPrefix="uc1" TagName="cmp_KS_OtherItemsCart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_Cart.ascx" TagPrefix="uc1" TagName="cmp_KS_Cart" %> +<%@ Register Src="~/WebUserControls/cmp_KS_Items.ascx" TagPrefix="uc1" TagName="cmp_KS_Items" %> + + +
+ + + +
+

<%: traduci("KittingSmartAdv") %>

+
+
+
+ + + + +
+
+ + + + +
+
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ <%: traduci("cancel") %> +
+
+ +
+ +
+
+ <%: traduci("ResetSel") %> +
+
+
+
+
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs new file mode 100644 index 0000000..b615ee1 --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.cs @@ -0,0 +1,832 @@ +using AppData; +using NKC_SDK; +using SteamWare; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + + +namespace NKC_WF.WebUserControls +{ + public partial class cmp_kittingSmartAdvBcode : BaseUserControl + { + /// + /// ID univoco da IP + /// + protected string DeviceId + { + set + { + hfDeviceId.Value = value; + } + get + { + return hfDeviceId.Value; + } + } + /// + /// Postazione attuale (per ora cablata) + /// + protected string PlaceId + { + get + { + return "WRK001"; + } + } + + /// + /// Sheet selezionato... + /// + protected int SheetID + { + set + { + hfSheetID.Value = value.ToString(); + } + get + { + int answ = 0; + int.TryParse(hfSheetID.Value, out answ); + return answ; + } + } + /// + /// Aggiorna dati correnti (IP, batch, sheet...) + /// + protected void updateCurrData() + { + // FORSE 5/5?!? + DataLayer DLMan = new DataLayer(); + var sheetList = DLMan.taSHL.getByMLStatus(PackListID, 3, 5); + if (sheetList.Count > 0) + { + SheetID = sheetList[0].SheetID; + } + DeviceId = ComLib.GetIPAddress().Replace(".", "0").Replace(":", "0"); + } + /// + /// PackList corrente... + /// + public int PackListID + { + set + { + hfBatchID.Value = value.ToString(); + } + get + { + int answ = 0; + int.TryParse(hfBatchID.Value, out answ); + return answ; + } + } + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + lastObject = ""; + resetShowData(); + resetIcons(); + updateCurrData(); + } + cmp_barcode.eh_doRefresh += Cmp_barcode_eh_doRefresh; + cmp_barcode.eh_doReset += Cmp_barcode_eh_doReset; + cmp_KS_BinCart.eh_doRefresh += cmp_KS_BinCart_eh_doRefresh; + cmp_KS_OtherItemsCart.eh_doRefresh += cmp_KS_OtherItemsCart_eh_doRefresh; + cmp_KS_Items.eh_doRefresh += cmp_KS_Items_eh_doRefresh; + } + + private void cmp_KS_Items_eh_doRefresh(object sender, EventArgs e) + { + displInfo("PART added"); + // resetto BIN & CART + resetBin(); + resetCart(); + resetItem(); + } + + private void cmp_KS_OtherItemsCart_eh_doRefresh(object sender, EventArgs e) + { + displInfo("Other PART added"); + // resetto BIN & CART + resetBin(); + resetCart(); + resetItem(); + } + + private void cmp_KS_BinCart_eh_doRefresh(object sender, EventArgs e) + { + displInfo("PAINT PART added"); + // resetto BIN & CART + resetBin(); + resetCart(); + resetItem(); + } + + private void resetShowData() + { + cmp_KS_Cart.Visible = false; + cmp_KS_BinCart.Visible = false; + cmp_KS_OtherItemsCart.Visible = false; + cmp_KS_Items.Visible = false; + } + + /// + /// Comando barcode letto + /// + protected string lastCmd + { + get + { + return hfLastBCode.Value; + } + set + { + hfLastBCode.Value = value; + lastValidCmd = value; + } + } + /// + /// Ultimo object letto + /// + protected string lastObject + { + get + { + return hfLastObject.Value; + } + set + { + hfLastObject.Value = value; + } + } + /// + /// ULTIMO Comando barcode VALIDO (!="") letto + /// + protected string lastValidCmd + { + get + { + return hfLastValidBCode.Value; + } + set + { + // solo se è !="" + if (!string.IsNullOrEmpty(value)) + { + hfLastValidBCode.Value = value; + } + } + } + private void Cmp_barcode_eh_doReset(object sender, EventArgs e) + { + resetIcons(); + } + + private void Cmp_barcode_eh_doRefresh(object sender, EventArgs e) + { + bool doRaiseEv = false; + // processo evento.. + lastCmd = cmp_barcode.inputAcquired.ToUpper(); + doRaiseEv = processLastCmd(doRaiseEv); + + // reset comando + cmp_barcode.inputAcquired = ""; + // aggiorno... + doUpdate(); + if (doRaiseEv) + { + raiseEvent(); + } + } + + private bool processLastCmd(bool doRaiseEv) + { + if (string.IsNullOrEmpty(lastCmd)) doRaiseEv = true; + // processiamo barcode letto + decodedData decoData = DLMan.decodeBcode(lastCmd); + switch (decoData.codeType) + { + case codeType.UNK: + cmp_barcode.showOutput(cssClass.danger, $"Unknown Data: {decoData.rawData} --> no action"); + resetSelection(); + doRaiseEv = true; + break; + case codeType.Item: + cmp_barcode.showOutput(cssClass.success, $"Valid IT Code: {decoData.rawData}"); + processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + break; + case codeType.ItemGeneric: + cmp_barcode.showOutput(cssClass.success, $"Valid IG Code: {decoData.rawData}"); + //processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + break; + case codeType.OtherItem: + cmp_barcode.showOutput(cssClass.success, $"Valid Generic PART Code: {decoData.rawData}"); + processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + break; + case codeType.Material: + cmp_barcode.showOutput(cssClass.warning, $"Material - ignored: {decoData.description}"); + doRaiseEv = true; + break; + case codeType.Sheet: + cmp_barcode.showOutput(cssClass.warning, $"Sheet - ignored: {decoData.description}"); + doRaiseEv = true; + break; + case codeType.Stack: + cmp_barcode.showOutput(cssClass.warning, $"BUNK - ignored: {decoData.description}"); + doRaiseEv = true; + break; + case codeType.Batch: + cmp_barcode.showOutput(cssClass.warning, $"Batch - ignored: {decoData.description}"); + doRaiseEv = true; + break; + case codeType.Cart: + cmp_barcode.showOutput(cssClass.success, $"Valid CR Code: {decoData.description}"); + processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + doRaiseEv = true; + break; + case codeType.Bin: + cmp_barcode.showOutput(cssClass.warning, $"BIN NOT PAINTED - Ignored: {decoData.description}"); + doRaiseEv = true; + break; + case codeType.BinProcessed: + cmp_barcode.showOutput(cssClass.success, $"Valid BP Code: {decoData.description}"); + processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt); + break; + default: + cmp_barcode.showOutput(cssClass.danger, $"Unknown Data: {decoData.rawData} --> no action"); + resetSelection(); + break; + } + return doRaiseEv; + } + + /// + /// Processo il DataMatrix letto + /// + /// + /// + /// + private void processItemSuggestion(codeType tipoCod, string rawData, int codeInt) + { + DS_App.ItemListDataTable tabItem = null; + DataLayer DLMan = new DataLayer(); + divInfo.Visible = false; + // processo suggerimenti x ITEM / cart / bin dato suo RawData (Dtmx) e Cod univoco (intero) + switch (tipoCod) + { + case codeType.Cart: + // primo step: verifico dal codice CART l'ordine da cui deriva... + var tabOrdini = DLMan.taOL.getByCart(rawData); + if (tabOrdini.Count == 0) + { + displError($"{traduci("KS_PIS_CartNotFound")} {rawData}, {traduci("ErrPleaseRetry")}"); + resetCart(); + } + else + { + var rigaOrd = tabOrdini[0]; + // ora si va sulla tab delle PackListDet x cercare ordine legato al Cart... prendo quella attiva! + var tabPLD = DLMan.taPLD.getRunByOrdExtCode(rigaOrd.OrderExtCode); + // controllo se trovo righe... + if (tabPLD.Count == 0) + { + displError($"KIT REQuest: PackList not found for Cart {rawData} --> OrdExtCode {rigaOrd.OrderExtCode}, {traduci("ErrPleaseRetry")}"); + resetCart(); + } + else + { + // mostro CART! + string descr = "-"; + try + { + descr = rigaOrd.OrderExtCode; + } + catch + { } + setCart(rawData, codeInt, descr); + // verifico se il cart sia già stato messo in scarico (in quel caso dico già ok...) + var tabLog = DLMan.taPLog.getByCartId(codeInt); + if (tabLog.Count > 0) + { + // per scrupolo sistemo la data di kitting... + DLMan.taCR.setKitStart(codeInt); + // verifico se sia completo --> reset... altrimenti lascio così... + var tabCOK = DLMan.taCOK.GetData(); + // cerco se sia "green" numWait + numReady + numOtherWait = 0 + var tabGreen = tabCOK.Where(x => (x.NumPzWaiting + x.NumPzBinAvail + x.OtherQtyWait == 0) && x.CartDtmx == rawData).ToList(); + if (tabGreen.Count > 0) + { + // verifico se sia SECONDA lettura + if (lastObject == rawData) + { + // --> metto cart in scarico e registro LOG come se avesse appena letto 1:1 ogni Dtmx + DLMan.taPLog.closeCart(codeInt); + lgInfo($"cmp_kittingSmart | taPLog.closeCart | codeInt: {codeInt} | rawData: {rawData}"); + // mostro che ho fatto + displInfo($"OK: CART removed {rawData}"); + lastObject = ""; + // resetto BIN & CART + resetBin(); + resetCart(); + } + else + { + lastObject = rawData; + displInfo($"Cart already completed, please read CART another time: Cart {rawData}"); + } + resetCart(); + } + } + else + { + // recupero da tab di check complessiva + var tabPLCheck = DLMan.taPLC.GetData(rawData); + if (tabPLCheck.Count == 0) + { + displError($"ERROR evaluating CART: {rawData}"); + resetCart(); + } + else + { + var rigaCheck = tabPLCheck[0]; + // verifico penalty (vedere stored: pezzi da leggere >= pezzi del cart...) + if (rigaCheck.NumPenalty == 0) + { + // verifico se sia SECONDA lettura + if (lastObject == rawData) + { + // --> metto cart in scarico e registro LOG come se avesse appena letto 1:1 ogni Dtmx + DLMan.taPLog.acquireCart(rawData, currIpAddress, user_std.UtSn.userNameAD); + lgInfo($"cmp_kittingSmart | taPLog.acquireCart | rawData: {rawData} | UserName: {user_std.UtSn.userNameAD} | currIpAddress: {currIpAddress}"); + displInfo($"OK: CART acquired {rawData} - item confirmed"); + lastObject = ""; + // eseguo comando x spostare i PAINT nel cart corretto... + DLMan.taKL.updateCartForBin(rawData); + lgInfo($"cmp_kittingSmart | taKL.updateCartForBin | rawData: {rawData}"); + // resetto BIN & CART + resetBin(); + resetCart(); + } + else + { + lastObject = rawData; + displError($"Please read CART another time: Cart {rawData}"); + } + } + else + { + displError($"ERROR CART contains KIT already on download: {rawData}"); + resetCart(); + } + } + } + } + } + break; + case codeType.BinProcessed: + // recupero la tab OKIB x iniziare a controllare i dati... + var tabOKIB = DLMan.taOKIB.getByBinDtmxProc(rawData); + // PRIMO: verifico SE ho delle righe valide... + if (tabOKIB.Count == 0) + { + displError($"BIN: Code not found {rawData}, {traduci("ErrPleaseRetry")}"); + // reset preliminare + resetBin(); + } + else + { + var listPainted = tabOKIB.Where(x => !x.IsPaintDateNull()).ToList(); + if (listPainted.Count == 0) + { + displError($"BIN: Paint Date missing for item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}, {traduci("ErrPleaseRetry")}"); + // reset preliminare + resetBin(); + } + else + { + var listAvailable = tabOKIB.Where(x => !x.IsPaintDateNull() && x.IsOnCartDateNull()).ToList(); + if (listAvailable.Count == 0) + { + displError($"BIN: No item available for pickup on target CART for code {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}, {traduci("ErrPleaseRetry")}"); + // reset preliminare + resetBin(); + } + else + { + // verifico SE ci sia ALMENO UN CART in postazione (iniziato KIT ma NON finito)... + var listCartAvailable = tabOKIB.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull()).ToList(); + if (listCartAvailable.Count == 0) + { + displError($"BIN: No CART available to proceed: {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}"); + // reset preliminare + resetBin(); + } + else + { + // mostro BIN! + string descr = "-"; + try + { + descr = tabOKIB[0].OrderExtCode; + } + catch + { } + setBin(rawData, codeInt, descr); + // verifico se il Bin sia già stato messo in scarico (in quel caso dico già ok...) + var listBinAcquired = tabOKIB.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull() && !x.IsBinKitStartNull()).ToList(); + if (listBinAcquired.Count > 0) + { + // verifico se sia GIA' stato completato KIT... + var listBinNotCompleted = tabOKIB.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull() && !x.IsBinKitStartNull() && x.IsBinKitEndNull()).ToList(); + if (listBinNotCompleted.Count == 0) + { + displError($"BIN: already completed: {rawData} | item {tabOKIB[0].ItemDesc} | order {tabOKIB[0].OrderExtCode}"); + // reset preliminare + resetBin(); + } + } + else + { + // processing... + if (lastObject == rawData) + { + // seconda lettura x indicare in scarico + DLMan.taBN.updateKitting(codeInt, true, false); + lgInfo($"cmp_kittingSmart | taBN.updateKitting | BinID: {codeInt} | BinDtmx: {rawData} | recStart: true | recEnd: false"); + // resetto BIN & CART + resetBin(); + resetCart(); + } + else + { + // chiedo seconda lettura + lastObject = rawData; + displError($"Please read BIN another time: BIN {rawData}"); + // reset preliminare + resetBin(); + } + } + } + } + } + } + break; + case codeType.Item: + // recupero la tab ITEMS x iniziare a controllare i dati... + tabItem = DLMan.taIL.getBySearch(codeInt, rawData, 0, 999); + if (tabItem.Count == 0) + { + displError($"{traduci("ErrPartNotFound")} {rawData}, {traduci("ErrPleaseRetry")}"); + showItemDetail(false, null, true); + } + else if (tabItem.Count == 1) + { + var itemRow = tabItem[0]; + showItemDetail(true, itemRow, false); + // verifico se ITEM sia o meno stato caricato sul CART x delivery finale + if (!itemRow.IsOnCartDateNull()) + { + // se caricato --> mostro che è già a posto + displError($"{traduci("ErrPartAlreadyOnCart")} {rawData}, {traduci("ErrPleaseRetry")}"); + resetItem(); + } + else + { + // imposto controllo... + cmp_KS_Items.ItemID = codeInt; + cmp_KS_Items.NeedSecOp = !string.IsNullOrEmpty(itemRow.PostProcList); + cmp_KS_Items.NeedPaint = !string.IsNullOrEmpty(itemRow.ProcessesReq) && itemRow.ProcessesReq == "PaintFlag"; + // controllo! + cmp_KS_Items.doUpdate(); + } + } + break; + case codeType.OtherItem: + // recupero la tab OKOI x iniziare a controllare i dati... + var tabOKOI = DLMan.taOKOI.getByOtherItemDtmx(rawData); + // PRIMO: verifico SE ho delle righe valide... + if (tabOKOI.Count == 0) + { + displError($"{traduci("ErrPartNotFound")} {rawData}, {traduci("ErrPleaseRetry")}"); + // reset preliminare + resetOtherItem(); + } + else + { + var listAvailable = tabOKOI.Where(x => x.IsOnCartDateNull()).ToList(); + if (listAvailable.Count == 0) + { + displError($"{traduci("ErrPartNoItemAvail")} {rawData} | item {tabOKOI[0].OtherItemDesc} | order {tabOKOI[0].OrderExtCode}, {traduci("ErrPleaseRetry")}"); + // reset preliminare + resetOtherItem(); + } + else + { + // verifico SE ci sia ALMENO UN CART in postazione (iniziato KIT ma NON finito)... + var listCartAvailable = tabOKOI.Where(x => !x.IsCartKitStartNull() && x.IsCartKitEndNull()).ToList(); + if (listCartAvailable.Count == 0) + { + displError($"{traduci("ErrPartNoCartAvail")}: {rawData} | PART {tabOKOI[0].OtherItemExtCode} {tabOKOI[0].OtherItemDesc} | order {tabOKOI[0].OrderExtCode}"); + // reset preliminare + resetOtherItem(); + } + else + { + string descr = "-"; + try + { + descr = tabOKOI[0].OtherItemExtCode; + } + catch + { } + // mostro OtherItem! + setOtherItem(rawData, codeInt, descr); + } + } + } + break; + default: + lastObject = ""; + break; + } + } + /// + /// Imposta il codice Item sugli oggetti dipendenti + /// + /// + /// + private void setItem(string rawData, int codeInt) + { + itemIdSelected = codeInt; + cmp_KS_Items.ItemID = codeInt; + cmp_KS_Items.ItemDtmx = rawData; + cmp_KS_Items.doUpdate(); + fixVisibility(); + } + /// + /// Imposta il codice OtherItem sugli oggetti dipendenti + /// + /// + /// + /// + private void setOtherItem(string rawData, int codeInt, string Description) + { + cmp_KS_OtherItemsCart.OtherItemID = codeInt; + cmp_KS_OtherItemsCart.OtherItemDtmx = rawData; + cmp_KS_OtherItemsCart.OtherItemDesc = Description; + cmp_KS_OtherItemsCart.doUpdate(); + fixVisibility(); + } + + /// + /// Imposta il bin sugli oggetti dipendenti + /// + /// + /// + /// + private void setBin(string rawData, int codeInt, string Description) + { + cmp_KS_BinCart.BinID = codeInt; + cmp_KS_BinCart.BinDtmx = rawData; + cmp_KS_BinCart.BinDesc = Description; + cmp_KS_BinCart.doUpdate(); + fixVisibility(); + } + /// + /// Imposta il cart sugli oggetti dipendenti + /// + /// + /// + /// + private void setCart(string rawData, int codeInt, string Description) + { + cmp_KS_BinCart.CartID = codeInt; + cmp_KS_BinCart.CartDtmx = rawData; + cmp_KS_BinCart.CartDesc = Description; + cmp_KS_BinCart.doUpdate(); + cmp_KS_OtherItemsCart.CartID = codeInt; + cmp_KS_OtherItemsCart.CartDtmx = rawData; + cmp_KS_OtherItemsCart.CartDesc = Description; + cmp_KS_OtherItemsCart.doUpdate(); + cmp_KS_Cart.CartID = codeInt; + cmp_KS_Cart.CartDtmx = rawData; + cmp_KS_Cart.CartDesc = Description; + cmp_KS_Cart.doUpdate(); + cmp_KS_Items.CartID = codeInt; + cmp_KS_Items.CartDtmx = rawData; + cmp_KS_Items.CartDesc = Description; + cmp_KS_Items.doUpdate(); + fixVisibility(); + } + + private void resetBin() + { + cmp_KS_BinCart.BinID = 0; + fixVisibility(); + } + + private void resetCart() + { + cmp_KS_BinCart.CartID = 0; + cmp_KS_OtherItemsCart.CartID = 0; + cmp_KS_Cart.CartID = 0; + cmp_KS_Items.CartID = 0; + fixVisibility(); + } + private void resetOtherItem() + { + cmp_KS_OtherItemsCart.OtherItemID = 0; + fixVisibility(); + } + private void resetItem() + { + itemIdSelected = 0; + cmp_KS_Items.ItemID = 0; + fixVisibility(); + } + + /// + /// Mostra INFO ed effettua reset vari... + /// + /// + protected void displInfo(string infoMessage) + { + lblSuccessMsg.Text = infoMessage; + divError.Visible = false; + divInfo.Visible = true; + resetSelection(); + } + /// + /// Mostra ERROR ed effettua reset vari... + /// + /// + protected void displError(string errorMessage) + { + lblErrorMsg.Text = errorMessage; + divError.Visible = true; + divInfo.Visible = false; + resetSelection(); + } + /// + /// Reset selezione item + blocchi suggerimento + sel REDIS x pagina unload + /// + protected void resetSelection() + { + // elimino item sel... + itemIdSelected = 0; + resetShowData(); + bool fatto = ComLib.resetItemPickup(SheetID, DeviceId); + lgInfo($"cmp_kittingSmart | ComLib.resetItemPickup | SheetID: {SheetID} | DeviceId: {DeviceId} | done: {fatto}"); + } + /// + /// Mostra o nasconde dettaglio su ITEM letto + /// + /// + /// + /// + private void showItemDetail(bool showItem, DS_App.ItemListRow itemRow, bool showError) + { + resetShowData(); + divItemDet.Visible = showItem; + divError.Visible = showError; + if (showError) + { + displError("Item not found"); + } + if (showItem) + { + lblItemCode.Text = itemRow.ItemExtCode; + lblItemDesc.Text = itemRow.ItemDesc; + lblItemDtmx.Text = itemRow.ItemDtmx; + // cerco kit --> cart... + string cartDtmx = "-"; + try + { + var tabCart = DLMan.taCR.getByItemID(itemRow.ItemID); + if (tabCart != null && tabCart.Count > 0) + { + cartDtmx = tabCart[0].CartDtmx; + } + } + catch + { } + lblItemCartDtmx.Text = cartDtmx; + setItem(itemRow.ItemDtmx, itemRow.ItemID); + // CONTROLLO SIA in stato 1 --> worked, 2--> selected, 100--> parked... + switch (itemRow.StatusID) + { + case 0: + displError(traduci("ErrPartNotReady")); + break; + case 1: + case 2: + case 100: + doUpdate(); + break; + case 3: + displError(traduci("ErrPartAlreadyOnCart")); + break; + case 4: + // fino a concorrenza qta richiesta sposto, POI do errori + displError(traduci("ErrAllPartAlreadyOnBin")); + break; + case 5: + displError(traduci("ErrPartAlreadyOnKit")); + break; + case 990: + displError(traduci("ErrPartSt990")); + break; + case 991: + displError(traduci("ErrPartSt991")); + break; + default: + displError(traduci("ErrPartStUnkn")); + break; + } + } + lbtResetSel.Visible = (itemIdSelected != 0); + } + + public int itemIdSelected + { + get + { + int answ = 0; + int.TryParse(hfItemID.Value, out answ); + return answ; + } + set + { + hfItemID.Value = value.ToString(); + bool showBtn = value != 0; + // fix visibilità + lbtCancel.Visible = showBtn; + } + } + + private void resetIcons() + { + lblDestination.CssClass = "text-secondary"; + lblDestination.Text = ""; + lblLastBCode.Text = ""; + lbtCancel.Visible = false; + lbtResetSel.Visible = (itemIdSelected != 0); + } + + protected DS_App.BinsDataTable currBinTab + { + get + { + return DLMan.taBN.getByItemID(itemIdSelected); + } + } + protected DS_App.CartsDataTable currCartTab + { + get + { + return DLMan.taCR.getByItemID(itemIdSelected); + } + } + + private void doUpdate() + { + fixVisibility(); + } + + private void fixVisibility() + { + // reset grafico + cmp_KS_Cart.Visible = cmp_KS_Cart.CartID > 0 && (cmp_KS_BinCart.BinID + cmp_KS_OtherItemsCart.OtherItemID + cmp_KS_Items.ItemID == 0); + cmp_KS_BinCart.Visible = cmp_KS_BinCart.BinID > 0; + cmp_KS_OtherItemsCart.Visible = cmp_KS_OtherItemsCart.OtherItemID > 0; + cmp_KS_Items.Visible = cmp_KS_Items.ItemID > 0; + // fix btn reset! + lbtResetSel.Visible = (itemIdSelected != 0); + } + + protected void lbtCancel_Click(object sender, EventArgs e) + { + resetSelection(); + showItemDetail(false, null, false); + } + protected void lbtResetSel_Click(object sender, EventArgs e) + { + var tabSheet = DLMan.taSHL.getByItemID(itemIdSelected); + if (tabSheet.Count == 1) + { + resetShowData(); + // resetto sheet selezionato... + DLMan.taIL.updateSheetStatusPU(tabSheet[0].SheetID, PlaceId); + lgInfo($"cmp_kittingSmart | taIL.updateSheetStatusPU | SheetID: {tabSheet[0].SheetID} | PlaceId: {PlaceId}"); + resetSelection(); + showItemDetail(false, null, false); + } + } + + } +} \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.designer.cs new file mode 100644 index 0000000..15b582e --- /dev/null +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdvBcode.ascx.designer.cs @@ -0,0 +1,242 @@ +//------------------------------------------------------------------------------ +// +// Codice generato da uno strumento. +// +// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +namespace NKC_WF.WebUserControls +{ + + + public partial class cmp_kittingSmartAdvBcode + { + + /// + /// Controllo hfBatchID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfBatchID; + + /// + /// Controllo hfSheetID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfSheetID; + + /// + /// Controllo hfDeviceId. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfDeviceId; + + /// + /// Controllo cmp_barcode. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_barcode cmp_barcode; + + /// + /// Controllo hfLastBCode. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfLastBCode; + + /// + /// Controllo hfLastObject. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfLastObject; + + /// + /// Controllo hfLastValidBCode. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfLastValidBCode; + + /// + /// Controllo cmp_KS_BinCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_BinCart cmp_KS_BinCart; + + /// + /// Controllo cmp_KS_OtherItemsCart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_OtherItemsCart cmp_KS_OtherItemsCart; + + /// + /// Controllo cmp_KS_Cart. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_Cart cmp_KS_Cart; + + /// + /// Controllo cmp_KS_Items. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_KS_Items cmp_KS_Items; + + /// + /// Controllo divItemDet. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divItemDet; + + /// + /// Controllo hfItemID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfItemID; + + /// + /// Controllo lblItemCode. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblItemCode; + + /// + /// Controllo lblItemDesc. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblItemDesc; + + /// + /// Controllo lblItemDtmx. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblItemDtmx; + + /// + /// Controllo lblItemCartDtmx. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblItemCartDtmx; + + /// + /// Controllo divError. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divError; + + /// + /// Controllo lblErrorMsg. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblErrorMsg; + + /// + /// Controllo divInfo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divInfo; + + /// + /// Controllo lblSuccessMsg. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblSuccessMsg; + + /// + /// Controllo lbtCancel. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtCancel; + + /// + /// Controllo lblLastBCode. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblLastBCode; + + /// + /// Controllo lblDestination. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblDestination; + + /// + /// Controllo lbtResetSel. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtResetSel; + } +} diff --git a/NKC_WF/site/KitRequestSched.aspx b/NKC_WF/site/KitRequestSched.aspx index 6ab1f5c..4e9cf30 100644 --- a/NKC_WF/site/KitRequestSched.aspx +++ b/NKC_WF/site/KitRequestSched.aspx @@ -15,8 +15,8 @@ - - + + From 83fea07275e1cb6666eade855751a4dc95863b1c Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 15:50:11 +0200 Subject: [PATCH 20/25] OK versione smart della sospensione/ripresa orders --- NKC_WF/WebUserControls/cmp_kitReqRunning.ascx | 24 +++++++++++---- .../WebUserControls/cmp_kitReqRunning.ascx.cs | 3 +- NKC_WF/WebUserControls/cmp_kitReqSched.ascx | 20 +++++++++++-- .../WebUserControls/cmp_kitReqSched.ascx.cs | 3 +- .../WebUserControls/cmp_kittingSmartAdv.ascx | 4 +-- .../cmp_kittingSmartAdv.ascx.cs | 29 ++++++++++++++----- 6 files changed, 63 insertions(+), 20 deletions(-) diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx index 7fe5010..ae7f9d0 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx @@ -15,19 +15,19 @@
- +
- +
- +
@@ -36,8 +36,22 @@ <%----%> - - + + + + + + + + + + + + + + + + diff --git a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs index f69543d..01eb838 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqRunning.ascx.cs @@ -25,7 +25,7 @@ namespace NKC_WF.WebUserControls cmp_KR_cart.doUpdate(); } - protected bool showFull + public bool showFull { get { @@ -36,6 +36,7 @@ namespace NKC_WF.WebUserControls set { hfShowFull.Value = value.ToString(); + grView.DataBind(); } } protected void grView_SelectedIndexChanged(object sender, EventArgs e) diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx index c4369e6..15f4ce7 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx @@ -14,7 +14,7 @@ - + @@ -29,8 +29,22 @@ <%----%> - - + + + + + + + + + + + + + + + +
diff --git a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs index 2064966..ec91f34 100644 --- a/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kitReqSched.ascx.cs @@ -29,7 +29,7 @@ namespace NKC_WF.WebUserControls hfNumRows.Value = value.ToString(); } } - protected bool showFull + public bool showFull { get { @@ -40,6 +40,7 @@ namespace NKC_WF.WebUserControls set { hfShowFull.Value = value.ToString(); + grView.DataBind(); } } diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx index e756864..efaafac 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx @@ -66,8 +66,8 @@
- - + +
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs index 4e291a5..cb39b92 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs @@ -60,6 +60,27 @@ namespace NKC_WF.WebUserControls return answ; } } + protected void Page_Load(object sender, EventArgs e) + { + if (!Page.IsPostBack) + { + ActiveMode = (int)KitAdvMode.NA; + updateCurrData(); + } + cmp_kitReqRunning.eh_doRefresh += cmp_kitReqRunning_eh_doRefresh; + cmp_kitReqSched.eh_doRefresh += cmp_kitReqSched_eh_doRefresh; + } + + private void cmp_kitReqSched_eh_doRefresh(object sender, EventArgs e) + { + cmp_kitReqRunning.doUpdate(); + } + + private void cmp_kitReqRunning_eh_doRefresh(object sender, EventArgs e) + { + cmp_kitReqSched.doUpdate(); + } + /// /// Aggiorna dati correnti (IP, batch, sheet...) /// @@ -109,14 +130,6 @@ namespace NKC_WF.WebUserControls break; } } - protected void Page_Load(object sender, EventArgs e) - { - if (!Page.IsPostBack) - { - ActiveMode = (int)KitAdvMode.NA; - updateCurrData(); - } - } protected void lbtKitSusp_Click(object sender, EventArgs e) { From 30d6366d3225bc1bf70ff420e030f089c6a2099c Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 16:13:00 +0200 Subject: [PATCH 21/25] COmpletata gestione riordino da SMART kitting ADV --- .../WebUserControls/cmp_kittingSmartAdv.ascx | 5 +- .../cmp_kittingSmartAdv.ascx.cs | 3 + .../cmp_kittingSmartAdv.ascx.designer.cs | 9 +++ .../WebUserControls/cmp_partMIA_byPLID.ascx | 70 +++++++++++++------ .../cmp_partMIA_byPLID.ascx.cs | 14 ++++ .../cmp_partMIA_byPLID.ascx.designer.cs | 9 +++ NKC_WF/site/PartMIA.aspx | 2 +- 7 files changed, 88 insertions(+), 24 deletions(-) diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx index efaafac..cfd80db 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx @@ -1,6 +1,8 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kittingSmartAdv.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kittingSmartAdv" %> <%@ Register Src="~/WebUserControls/cmp_kitReqRunning.ascx" TagPrefix="uc1" TagName="cmp_kitReqRunning" %> <%@ Register Src="~/WebUserControls/cmp_kitReqSched.ascx" TagPrefix="uc1" TagName="cmp_kitReqSched" %> +<%@ Register Src="~/WebUserControls/cmp_partMIA_byPLID.ascx" TagPrefix="uc1" TagName="cmp_partMIA_byPLID" %> + @@ -69,7 +71,8 @@ -
+
+
diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs index cb39b92..4ff115c 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.cs @@ -107,6 +107,9 @@ namespace NKC_WF.WebUserControls case KitAdvMode.PartsReorder: lbtKitReorder.Visible = true; divAct02.Visible = true; + // fixme... sistemare PLID + cmp_partMIA_byPLID.PLID = 40; + cmp_partMIA_byPLID.doUpdate(); break; case KitAdvMode.PartsReload: lbtKitReloadPart.Visible = true; diff --git a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs index 8637387..0157d70 100644 --- a/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_kittingSmartAdv.ascx.designer.cs @@ -113,6 +113,15 @@ namespace NKC_WF.WebUserControls /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAct02; + /// + /// Controllo cmp_partMIA_byPLID. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::NKC_WF.WebUserControls.cmp_partMIA_byPLID cmp_partMIA_byPLID; + /// /// Controllo divAct03. /// diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx index 858a0d2..6ecc5b3 100644 --- a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx @@ -3,15 +3,6 @@ - <%----%> - - - -
- -
-
-
@@ -20,9 +11,22 @@ - + + + + -
+
+ +
+ + + + + + + +
@@ -39,34 +43,55 @@ + + + -
- +
+
+ +
+
- + + + -
- +
+
+ +
+ + + -
- +
+
+ +
+
- + + + -
- +
+ +
+ +
+
- @@ -85,3 +110,4 @@ + diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs index d3fb064..0fc32bd 100644 --- a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.cs @@ -114,5 +114,19 @@ namespace NKC_WF.WebUserControls grView.PageSize = value; } } + public bool showFull + { + get + { + bool answ = false; + bool.TryParse(hfShowFull.Value, out answ); + return answ; + } + set + { + hfShowFull.Value = value.ToString(); + grView.DataBind(); + } + } } } \ No newline at end of file diff --git a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs index b9121b7..1bb63fd 100644 --- a/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs +++ b/NKC_WF/WebUserControls/cmp_partMIA_byPLID.ascx.designer.cs @@ -40,5 +40,14 @@ namespace NKC_WF.WebUserControls /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.HiddenField hfPLID; + + /// + /// Controllo hfShowFull. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfShowFull; } } diff --git a/NKC_WF/site/PartMIA.aspx b/NKC_WF/site/PartMIA.aspx index d7a384c..1895bba 100644 --- a/NKC_WF/site/PartMIA.aspx +++ b/NKC_WF/site/PartMIA.aspx @@ -21,7 +21,7 @@
- +
From 3aa5710a745f0016d31ad06cd28fa81924e84054 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Mon, 24 Aug 2020 16:44:41 +0200 Subject: [PATCH 22/25] Nnuovi report rdlc caricati + rep designer --- AppData/DS_Report.Designer.cs | 1873 ++++++++++++++++++++++++- AppData/DS_Report.xsd | 229 ++- AppData/DS_Report.xss | 18 +- NKC_WF/Reports/Bin.rdlc | 42 +- NKC_WF/Reports/Cart.rdlc | 91 +- NKC_WF/Reports/IRK_Kitting_Group.rdlc | 944 +++++++++++++ NKC_WF/Reports/IRK_Kitting_List.rdlc | 944 +++++++++++++ 7 files changed, 4097 insertions(+), 44 deletions(-) create mode 100644 NKC_WF/Reports/IRK_Kitting_Group.rdlc create mode 100644 NKC_WF/Reports/IRK_Kitting_List.rdlc diff --git a/AppData/DS_Report.Designer.cs b/AppData/DS_Report.Designer.cs index 82a1af2..4776b84 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,7 +1630,7 @@ namespace AppData { private global::System.Data.DataColumn columnQRCodeBaseUrl; - private global::System.Data.DataColumn columnPaintDate; + private global::System.Data.DataColumn columnDueDate; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] @@ -1693,9 +1763,9 @@ namespace AppData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public global::System.Data.DataColumn PaintDateColumn { + public global::System.Data.DataColumn DueDateColumn { get { - return this.columnPaintDate; + return this.columnDueDate; } } @@ -1736,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, System.DateTime PaintDate) { + 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, @@ -1751,7 +1821,7 @@ namespace AppData { TotItem, PathImageFull, QRCodeBaseUrl, - PaintDate}; + DueDate}; rowstp_prt_BinRow.ItemArray = columnValuesArray; this.Rows.Add(rowstp_prt_BinRow); return rowstp_prt_BinRow; @@ -1793,7 +1863,7 @@ namespace AppData { this.columnTotItem = base.Columns["TotItem"]; this.columnPathImageFull = base.Columns["PathImageFull"]; this.columnQRCodeBaseUrl = base.Columns["QRCodeBaseUrl"]; - this.columnPaintDate = base.Columns["PaintDate"]; + this.columnDueDate = base.Columns["DueDate"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -1823,8 +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.columnPaintDate = new global::System.Data.DataColumn("PaintDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPaintDate); + 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; @@ -3412,6 +3482,866 @@ 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 stp_prt_IRKRow FindByOrderExtCodeCartDtmx(string OrderExtCode, string CartDtmx) { + return ((stp_prt_IRKRow)(this.Rows.Find(new object[] { + OrderExtCode, + CartDtmx}))); + } + + [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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOrderExtCode, + this.columnCartDtmx}, true)); + 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.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 stp_prt_IRK_SumRow FindByOrderExtCode(string OrderExtCode) { + return ((stp_prt_IRK_SumRow)(this.Rows.Find(new object[] { + OrderExtCode}))); + } + + [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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOrderExtCode}, true)); + this.columnOrderExtCode.AllowDBNull = false; + this.columnOrderExtCode.Unique = true; + 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. /// @@ -3984,17 +4914,17 @@ namespace AppData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public System.DateTime PaintDate { + public System.DateTime DueDate { get { try { - return ((global::System.DateTime)(this[this.tablestp_prt_Bin.PaintDateColumn])); + 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 \'PaintDate\' nella tabella \'stp_prt_Bin\' è DBNull.", 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.PaintDateColumn] = value; + this[this.tablestp_prt_Bin.DueDateColumn] = value; } } @@ -4120,14 +5050,14 @@ namespace AppData { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] - public bool IsPaintDateNull() { - return this.IsNull(this.tablestp_prt_Bin.PaintDateColumn); + 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 SetPaintDateNull() { - this[this.tablestp_prt_Bin.PaintDateColumn] = global::System.Convert.DBNull; + public void SetDueDateNull() { + this[this.tablestp_prt_Bin.DueDateColumn] = global::System.Convert.DBNull; } } @@ -4848,6 +5778,437 @@ 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 { + try { + return ((string)(this[this.tablestp_prt_IRK.ItemDtmxColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("Il valore della colonna \'ItemDtmx\' nella tabella \'stp_prt_IRK\' è DBNull.", e); + } + } + 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 IsItemDtmxNull() { + return this.IsNull(this.tablestp_prt_IRK.ItemDtmxColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetItemDtmxNull() { + this[this.tablestp_prt_IRK.ItemDtmxColumn] = 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 /// @@ -5119,6 +6480,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 { @@ -6601,7 +8030,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("PaintDate", "PaintDate"); + tableMapping.ColumnMappings.Add("DueDate", "DueDate"); this._adapter.TableMappings.Add(tableMapping); } @@ -7502,6 +8931,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 85baba0..7bd6e48 100644 --- a/AppData/DS_Report.xsd +++ b/AppData/DS_Report.xsd @@ -315,7 +315,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -425,6 +425,68 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + prt.stp_prt_IRK + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + prt.stp_prt_IRK_Sum + + + + + + + + + + + + + + + + + + + + + + + @@ -433,7 +495,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -465,7 +527,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -497,7 +559,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -524,7 +586,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -587,11 +649,11 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + - + @@ -619,7 +681,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -658,7 +720,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -704,7 +766,7 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione - + @@ -753,6 +815,144 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -779,5 +979,14 @@ SELECT codPostazione, stampante, note FROM ElencoPostazioni WHERE (codPostazione + + + + + + + + + \ No newline at end of file diff --git a/AppData/DS_Report.xss b/AppData/DS_Report.xss index 59d6470..688b968 100644 --- a/AppData/DS_Report.xss +++ b/AppData/DS_Report.xss @@ -6,14 +6,16 @@ --> - - - - - - - - + + + + + + + + + + \ No newline at end of file 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 + - - - - - - - - 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 +