diff --git a/AppData/AppData.csproj b/AppData/AppData.csproj
index 1315140..86a1916 100644
--- a/AppData/AppData.csproj
+++ b/AppData/AppData.csproj
@@ -270,6 +270,7 @@
Designer
MSDataSetGenerator
+ DS_App2.Designer.cs
DS_App.xsd
diff --git a/AppData/DS_App.Designer.cs b/AppData/DS_App.Designer.cs
index 70a8dd4..0b15853 100644
--- a/AppData/DS_App.Designer.cs
+++ b/AppData/DS_App.Designer.cs
@@ -12229,10 +12229,10 @@ namespace AppData {
this.columnKitExtCode.MaxLength = 250;
this.columnOrderExtCode.MaxLength = 250;
this.columnCartID.ReadOnly = true;
- this.columnCartDtmx.MaxLength = 10;
+ this.columnCartDtmx.MaxLength = 50;
this.columnBinID.ReadOnly = true;
this.columnBinDtmx.ReadOnly = true;
- this.columnBinDtmx.MaxLength = 10;
+ this.columnBinDtmx.MaxLength = 50;
this.columnBinIndex.ReadOnly = true;
this.columnDueDate.ReadOnly = true;
this.columnPlaceCod.AllowDBNull = false;
@@ -25349,11 +25349,11 @@ namespace AppData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string CartDtmx {
get {
- try {
- return ((string)(this[this.tableItemSearchDetail.CartDtmxColumn]));
+ if (this.IsCartDtmxNull()) {
+ return string.Empty;
}
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'CartDtmx\' in table \'ItemSearchDetail\' is DBNull.", e);
+ else {
+ return ((string)(this[this.tableItemSearchDetail.CartDtmxColumn]));
}
}
set {
@@ -25397,11 +25397,11 @@ namespace AppData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
public string BinDtmx {
get {
- try {
- return ((string)(this[this.tableItemSearchDetail.BinDtmxColumn]));
+ if (this.IsBinDtmxNull()) {
+ return string.Empty;
}
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("The value for column \'BinDtmx\' in table \'ItemSearchDetail\' is DBNull.", e);
+ else {
+ return ((string)(this[this.tableItemSearchDetail.BinDtmxColumn]));
}
}
set {
@@ -30940,7 +30940,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[32];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[33];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_BatchList";
@@ -31018,125 +31018,134 @@ namespace AppData.DS_AppTableAdapters {
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PartValid", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[12].Connection = this.Connection;
- this._commandCollection[12].CommandText = "dbo.stp_Batch_getCurrentByMachine";
+ this._commandCollection[12].CommandText = "dbo.stp_Batch_getByStatus_Light";
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[12].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[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SearchVal", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ShowSplit", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PartValid", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[13].Connection = this.Connection;
- this._commandCollection[13].CommandText = "dbo.stp_Batch_getDescendantByKey";
+ this._commandCollection[13].CommandText = "dbo.stp_Batch_getCurrentByMachine";
this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[14].Connection = this.Connection;
- this._commandCollection[14].CommandText = "dbo.stp_Batch_getForBunkMan";
+ this._commandCollection[14].CommandText = "dbo.stp_Batch_getDescendantByKey";
this._commandCollection[14].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[14].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[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MaxPosition", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[15] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[15].Connection = this.Connection;
- this._commandCollection[15].CommandText = "dbo.stp_Batch_getLastByTakt";
+ this._commandCollection[15].CommandText = "dbo.stp_Batch_getForBunkMan";
this._commandCollection[15].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[15].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[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Takt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MaxPosition", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[16] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[16].Connection = this.Connection;
- this._commandCollection[16].CommandText = "dbo.stp_Batch_getNestRunning";
+ this._commandCollection[16].CommandText = "dbo.stp_Batch_getLastByTakt";
this._commandCollection[16].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[16].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[16].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Takt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[17] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[17].Connection = this.Connection;
- this._commandCollection[17].CommandText = "dbo.stp_Batch_getNextAvailable";
+ this._commandCollection[17].CommandText = "dbo.stp_Batch_getNestRunning";
this._commandCollection[17].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[17].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[17].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[18] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[18].Connection = this.Connection;
- this._commandCollection[18].CommandText = "dbo.stp_Batch_getRunning";
+ this._commandCollection[18].CommandText = "dbo.stp_Batch_getNextAvailable";
this._commandCollection[18].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[18].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[18].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[19] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[19].Connection = this.Connection;
- this._commandCollection[19].CommandText = "dbo.stp_Batch_getSched";
+ this._commandCollection[19].CommandText = "dbo.stp_Batch_getRunning";
this._commandCollection[19].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[19].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[20] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[20].Connection = this.Connection;
- this._commandCollection[20].CommandText = "dbo.stp_Batch_getSplitByKey";
+ this._commandCollection[20].CommandText = "dbo.stp_Batch_getSched";
this._commandCollection[20].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[20].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[20].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[21] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[21].Connection = this.Connection;
- this._commandCollection[21].CommandText = "dbo.stp_Batch_invalidateRunning";
+ this._commandCollection[21].CommandText = "dbo.stp_Batch_getSplitByKey";
this._commandCollection[21].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[21].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[21].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[22] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[22].Connection = this.Connection;
- this._commandCollection[22].CommandText = "dbo.stp_Batch_makeDescendantByKey";
+ this._commandCollection[22].CommandText = "dbo.stp_Batch_invalidateRunning";
this._commandCollection[22].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[22].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[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[22].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCodAnces", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[23] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[23].Connection = this.Connection;
- this._commandCollection[23].CommandText = "dbo.stp_Batch_redoPartValid";
+ this._commandCollection[23].CommandText = "dbo.stp_Batch_makeDescendantByKey";
this._commandCollection[23].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[23].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[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Takt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[23].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCodAnces", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[24] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[24].Connection = this.Connection;
- this._commandCollection[24].CommandText = "dbo.stp_Batch_refuseNesting";
+ this._commandCollection[24].CommandText = "dbo.stp_Batch_redoPartValid";
this._commandCollection[24].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[24].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[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[24].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Takt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[25] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[25].Connection = this.Connection;
- this._commandCollection[25].CommandText = "dbo.stp_Batch_resetAllNesting";
+ this._commandCollection[25].CommandText = "dbo.stp_Batch_refuseNesting";
this._commandCollection[25].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[25].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[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[25].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userName", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[26] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[26].Connection = this.Connection;
- this._commandCollection[26].CommandText = "dbo.stp_Batch_resetPartUnValid";
+ this._commandCollection[26].CommandText = "dbo.stp_Batch_resetAllNesting";
this._commandCollection[26].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[26].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[26].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[27] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[27].Connection = this.Connection;
- this._commandCollection[27].CommandText = "dbo.stp_zzz_resetProdCall";
+ this._commandCollection[27].CommandText = "dbo.stp_Batch_resetPartUnValid";
this._commandCollection[27].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[27].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[28] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[28].Connection = this.Connection;
- this._commandCollection[28].CommandText = "dbo.stp_Batch_resetTree";
+ this._commandCollection[28].CommandText = "dbo.stp_zzz_resetProdCall";
this._commandCollection[28].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[28].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[28].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[29] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[29].Connection = this.Connection;
- this._commandCollection[29].CommandText = "dbo.stp_Batch_updatePlaceCod";
+ this._commandCollection[29].CommandText = "dbo.stp_Batch_resetTree";
this._commandCollection[29].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[29].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[29].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[29].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[30] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[30].Connection = this.Connection;
- this._commandCollection[30].CommandText = "dbo.stp_Batch_updateSchedPrior";
+ this._commandCollection[30].CommandText = "dbo.stp_Batch_updatePlaceCod";
this._commandCollection[30].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[30].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[30].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[30].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SchedPrio", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[30].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[30].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PlaceCod", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[31] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[31].Connection = this.Connection;
- this._commandCollection[31].CommandText = "dbo.stp_Batch_updateStatus";
+ this._commandCollection[31].CommandText = "dbo.stp_Batch_updateSchedPrior";
this._commandCollection[31].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[31].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[31].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[31].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[31].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnvNum", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[31].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotalTime", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[31].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SchedPrio", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[32] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[32].Connection = this.Connection;
+ this._commandCollection[32].CommandText = "dbo.stp_Batch_updateStatus";
+ this._commandCollection[32].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[32].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[32].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BatchID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[32].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[32].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EnvNum", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[32].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TotalTime", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 6, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -31236,8 +31245,43 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_App.BatchListDataTable getCurrentByMachine(string PlaceCod) {
+ public virtual DS_App.BatchListDataTable getByStatusLight(global::System.Nullable Status, string SearchVal, global::System.Nullable ShowSplit, global::System.Nullable PartValid) {
this.Adapter.SelectCommand = this.CommandCollection[12];
+ if ((Status.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((int)(Status.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((SearchVal == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(SearchVal));
+ }
+ if ((ShowSplit.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((bool)(ShowSplit.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((PartValid.HasValue == true)) {
+ this.Adapter.SelectCommand.Parameters[4].Value = ((int)(PartValid.Value));
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ DS_App.BatchListDataTable dataTable = new DS_App.BatchListDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_App.BatchListDataTable getCurrentByMachine(string PlaceCod) {
+ this.Adapter.SelectCommand = this.CommandCollection[13];
if ((PlaceCod == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -31254,7 +31298,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_App.BatchListDataTable getDescendByKey(global::System.Nullable BatchID) {
- this.Adapter.SelectCommand = this.CommandCollection[13];
+ this.Adapter.SelectCommand = this.CommandCollection[14];
if ((BatchID.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(BatchID.Value));
}
@@ -31271,7 +31315,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_App.BatchListDataTable getForBunkMan(global::System.Nullable MaxPosition) {
- this.Adapter.SelectCommand = this.CommandCollection[14];
+ this.Adapter.SelectCommand = this.CommandCollection[15];
if ((MaxPosition.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(MaxPosition.Value));
}
@@ -31288,7 +31332,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_App.BatchListDataTable getLastByTakt(string Takt) {
- this.Adapter.SelectCommand = this.CommandCollection[15];
+ this.Adapter.SelectCommand = this.CommandCollection[16];
if ((Takt == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -31305,7 +31349,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_App.BatchListDataTable getNestRunning() {
- this.Adapter.SelectCommand = this.CommandCollection[16];
+ this.Adapter.SelectCommand = this.CommandCollection[17];
DS_App.BatchListDataTable dataTable = new DS_App.BatchListDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -31316,7 +31360,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_App.BatchListDataTable getNextAvailable(string PlaceCod) {
- this.Adapter.SelectCommand = this.CommandCollection[17];
+ this.Adapter.SelectCommand = this.CommandCollection[18];
if ((PlaceCod == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -31333,17 +31377,6 @@ namespace AppData.DS_AppTableAdapters {
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_App.BatchListDataTable getRunning() {
- this.Adapter.SelectCommand = this.CommandCollection[18];
- DS_App.BatchListDataTable dataTable = new DS_App.BatchListDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_App.BatchListDataTable getSched() {
this.Adapter.SelectCommand = this.CommandCollection[19];
DS_App.BatchListDataTable dataTable = new DS_App.BatchListDataTable();
this.Adapter.Fill(dataTable);
@@ -31354,8 +31387,19 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DS_App.BatchListDataTable getSplitByKey(global::System.Nullable BatchID) {
+ public virtual DS_App.BatchListDataTable getSched() {
this.Adapter.SelectCommand = this.CommandCollection[20];
+ DS_App.BatchListDataTable dataTable = new DS_App.BatchListDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
+ public virtual DS_App.BatchListDataTable getSplitByKey(global::System.Nullable BatchID) {
+ this.Adapter.SelectCommand = this.CommandCollection[21];
if ((BatchID.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(BatchID.Value));
}
@@ -31607,7 +31651,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int invalidateRunning() {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[21];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[22];
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -31629,7 +31673,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int makeDescendantByKey(global::System.Nullable BatchID, string PlaceCodAnces) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[22];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[23];
if ((BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(BatchID.Value));
}
@@ -31663,7 +31707,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int redoPartValid(string Takt) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[23];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[24];
if ((Takt == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -31691,7 +31735,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int refuseNesting(global::System.Nullable BatchID, string userName) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[24];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[25];
if ((BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(BatchID.Value));
}
@@ -31725,7 +31769,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int resetNesting(global::System.Nullable BatchID) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[25];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[26];
if ((BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(BatchID.Value));
}
@@ -31753,28 +31797,6 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int resetPartUnValid() {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[26];
- 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", "17.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int resetProdCall() {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[27];
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
@@ -31796,8 +31818,30 @@ namespace AppData.DS_AppTableAdapters {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int resetTree(global::System.Nullable Original_BatchID) {
+ public virtual int resetProdCall() {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[28];
+ 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", "17.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int resetTree(global::System.Nullable Original_BatchID) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[29];
if ((Original_BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_BatchID.Value));
}
@@ -31825,7 +31869,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updatePlaceCod(global::System.Nullable Original_BatchID, string PlaceCod) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[29];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[30];
if ((Original_BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_BatchID.Value));
}
@@ -31859,7 +31903,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateSchedPrior(global::System.Nullable BatchID, global::System.Nullable SchedPrio) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[30];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[31];
if ((BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(BatchID.Value));
}
@@ -31893,7 +31937,7 @@ namespace AppData.DS_AppTableAdapters {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateStatus(global::System.Nullable BatchID, global::System.Nullable Status, string EnvNum, global::System.Nullable TotalTime) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[31];
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[32];
if ((BatchID.HasValue == true)) {
command.Parameters[1].Value = ((int)(BatchID.Value));
}
diff --git a/AppData/DS_App.xsd b/AppData/DS_App.xsd
index bd638e6..69c3ab1 100644
--- a/AppData/DS_App.xsd
+++ b/AppData/DS_App.xsd
@@ -170,6 +170,20 @@ FROM v_BatchList
+
+
+
+ dbo.stp_Batch_getByStatus_Light
+
+
+
+
+
+
+
+
+
+
@@ -4956,93 +4970,93 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
-
-
-
+
+
+
-
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
+
@@ -5050,8 +5064,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
-
-
+
+
@@ -5059,8 +5073,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
-
-
+
+
@@ -5068,8 +5082,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
-
-
+
+
@@ -6056,18 +6070,18 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AppData/DS_App.xss b/AppData/DS_App.xss
index 0f896d7..efca5bc 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.
-->
-
+
diff --git a/NKC_WF/Controllers/BunkController.cs b/NKC_WF/Controllers/BunkController.cs
index abde6c2..23cba5a 100644
--- a/NKC_WF/Controllers/BunkController.cs
+++ b/NKC_WF/Controllers/BunkController.cs
@@ -119,8 +119,6 @@ namespace NKC_WF.Controllers
{
foreach (var item in currBunk.SheetList)
{
- // calcolo stsatus dalle date valide...
-
DLMan.taSHL.updateDate(item.SheetId, item.Printing.DtStart, item.Printing.DtEnd, item.Machining.DtStart, item.Machining.DtEnd, item.Unloading.DtStart, item.Unloading.DtEnd, (int)item.Status);
// SE machining completato --> status a LAVORATO!
if (item.Machining.DtEnd != null)
diff --git a/NKC_WF/WebUserControls/cmp_batchList.ascx b/NKC_WF/WebUserControls/cmp_batchList.ascx
index 2a1284c..1d33ee6 100644
--- a/NKC_WF/WebUserControls/cmp_batchList.ascx
+++ b/NKC_WF/WebUserControls/cmp_batchList.ascx
@@ -125,7 +125,7 @@
-
+