Impiego nuova stored x calcolo batch list x evitare lock DB
This commit is contained in:
@@ -270,6 +270,7 @@
|
||||
<None Include="DS_App.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSDataSetGenerator</Generator>
|
||||
<LastGenOutput>DS_App2.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="DS_App.xss">
|
||||
<DependentUpon>DS_App.xsd</DependentUpon>
|
||||
|
||||
Generated
+142
-98
@@ -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<int> Status, string SearchVal, global::System.Nullable<bool> ShowSplit, global::System.Nullable<int> 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<int> 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<int> 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<int> 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<int> 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<int> 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<int> 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<int> 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<int> 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<int> 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<int> 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<int> BatchID, global::System.Nullable<int> 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<int> BatchID, global::System.Nullable<int> Status, string EnvNum, global::System.Nullable<decimal> 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));
|
||||
}
|
||||
|
||||
+53
-39
@@ -170,6 +170,20 @@ FROM v_BatchList</CommandText>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getByStatus_Light" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByStatusLight" GetMethodModifier="Public" GetMethodName="getByStatusLight" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByStatusLight" UserSourceName="getByStatusLight">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_Batch_getByStatus_Light</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@SearchVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@ShowSplit" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PartValid" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_getCurrentByMachine" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getCurrentByMachine" GetMethodModifier="Public" GetMethodName="getCurrentByMachine" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getCurrentByMachine" UserSourceName="getCurrentByMachine">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
@@ -4956,93 +4970,93 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="ItemID" msprop:Generator_ColumnPropNameInTable="ItemIDColumn" msprop:Generator_ColumnPropNameInRow="ItemID" msprop:Generator_UserColumnName="ItemID" msprop:Generator_ColumnVarNameInTable="columnItemID" type="xs:int" />
|
||||
<xs:element name="StatusID" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnVarNameInTable="columnStatusID" msprop:Generator_UserColumnName="StatusID" type="xs:int" />
|
||||
<xs:element name="KitID" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnVarNameInTable="columnKitID" msprop:Generator_UserColumnName="KitID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="ItemDtmx" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" minOccurs="0">
|
||||
<xs:element name="StatusID" msprop:Generator_UserColumnName="StatusID" msprop:Generator_ColumnPropNameInTable="StatusIDColumn" msprop:Generator_ColumnPropNameInRow="StatusID" msprop:Generator_ColumnVarNameInTable="columnStatusID" type="xs:int" />
|
||||
<xs:element name="KitID" msprop:Generator_UserColumnName="KitID" msprop:Generator_ColumnPropNameInTable="KitIDColumn" msprop:Generator_ColumnPropNameInRow="KitID" msprop:Generator_ColumnVarNameInTable="columnKitID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="ItemDtmx" msprop:Generator_UserColumnName="ItemDtmx" msprop:Generator_ColumnPropNameInTable="ItemDtmxColumn" msprop:Generator_ColumnPropNameInRow="ItemDtmx" msprop:Generator_ColumnVarNameInTable="columnItemDtmx" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ItemExtCode" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnVarNameInTable="columnItemExtCode" msprop:Generator_UserColumnName="ItemExtCode">
|
||||
<xs:element name="ItemExtCode" msprop:Generator_UserColumnName="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ItemDesc" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnVarNameInTable="columnItemDesc" msprop:Generator_UserColumnName="ItemDesc">
|
||||
<xs:element name="ItemDesc" msprop:Generator_UserColumnName="ItemDesc" msprop:Generator_ColumnPropNameInTable="ItemDescColumn" msprop:Generator_ColumnPropNameInRow="ItemDesc" msprop:Generator_ColumnVarNameInTable="columnItemDesc">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ItemNote" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnVarNameInTable="columnItemNote" msprop:Generator_UserColumnName="ItemNote">
|
||||
<xs:element name="ItemNote" msprop:Generator_UserColumnName="ItemNote" msprop:Generator_ColumnPropNameInTable="ItemNoteColumn" msprop:Generator_ColumnPropNameInRow="ItemNote" msprop:Generator_ColumnVarNameInTable="columnItemNote">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ItemQty" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_ColumnVarNameInTable="columnItemQty" msprop:Generator_UserColumnName="ItemQty" type="xs:int" />
|
||||
<xs:element name="MatID" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnVarNameInTable="columnMatID" msprop:Generator_UserColumnName="MatID" type="xs:int" />
|
||||
<xs:element name="MachiningReq" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" msprop:Generator_UserColumnName="MachiningReq" type="xs:boolean" />
|
||||
<xs:element name="PostProcList" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnVarNameInTable="columnPostProcList" msprop:Generator_UserColumnName="PostProcList">
|
||||
<xs:element name="ItemQty" msprop:Generator_UserColumnName="ItemQty" msprop:Generator_ColumnPropNameInTable="ItemQtyColumn" msprop:Generator_ColumnPropNameInRow="ItemQty" msprop:Generator_ColumnVarNameInTable="columnItemQty" type="xs:int" />
|
||||
<xs:element name="MatID" msprop:Generator_UserColumnName="MatID" msprop:Generator_ColumnPropNameInTable="MatIDColumn" msprop:Generator_ColumnPropNameInRow="MatID" msprop:Generator_ColumnVarNameInTable="columnMatID" type="xs:int" />
|
||||
<xs:element name="MachiningReq" msprop:Generator_UserColumnName="MachiningReq" msprop:Generator_ColumnPropNameInTable="MachiningReqColumn" msprop:Generator_ColumnPropNameInRow="MachiningReq" msprop:Generator_ColumnVarNameInTable="columnMachiningReq" type="xs:boolean" />
|
||||
<xs:element name="PostProcList" msprop:Generator_UserColumnName="PostProcList" msprop:Generator_ColumnPropNameInTable="PostProcListColumn" msprop:Generator_ColumnPropNameInRow="PostProcList" msprop:Generator_ColumnVarNameInTable="columnPostProcList">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="ProcessesReq" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnVarNameInTable="columnProcessesReq" msprop:Generator_UserColumnName="ProcessesReq">
|
||||
<xs:element name="ProcessesReq" msprop:Generator_UserColumnName="ProcessesReq" msprop:Generator_ColumnPropNameInTable="ProcessesReqColumn" msprop:Generator_ColumnPropNameInRow="ProcessesReq" msprop:Generator_ColumnVarNameInTable="columnProcessesReq">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CadFilePath" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_ColumnVarNameInTable="columnCadFilePath" msprop:Generator_UserColumnName="CadFilePath">
|
||||
<xs:element name="CadFilePath" msprop:Generator_UserColumnName="CadFilePath" msprop:Generator_ColumnPropNameInTable="CadFilePathColumn" msprop:Generator_ColumnPropNameInRow="CadFilePath" msprop:Generator_ColumnVarNameInTable="columnCadFilePath">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="PdfFilePath" msprop:Generator_ColumnPropNameInRow="PdfFilePath" msprop:Generator_ColumnPropNameInTable="PdfFilePathColumn" msprop:Generator_ColumnVarNameInTable="columnPdfFilePath" msprop:Generator_UserColumnName="PdfFilePath">
|
||||
<xs:element name="PdfFilePath" msprop:Generator_UserColumnName="PdfFilePath" msprop:Generator_ColumnPropNameInTable="PdfFilePathColumn" msprop:Generator_ColumnPropNameInRow="PdfFilePath" msprop:Generator_ColumnVarNameInTable="columnPdfFilePath">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="OnCartDate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" msprop:Generator_UserColumnName="OnCartDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="PaintingReq" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="PaintingReq" msprop:Generator_ColumnPropNameInTable="PaintingReqColumn" msprop:Generator_ColumnVarNameInTable="columnPaintingReq" msprop:Generator_UserColumnName="PaintingReq" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="MatExtCode" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" msprop:Generator_UserColumnName="MatExtCode" type="xs:int" />
|
||||
<xs:element name="MatDesc" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnVarNameInTable="columnMatDesc" msprop:Generator_UserColumnName="MatDesc">
|
||||
<xs:element name="OnCartDate" msdata:ReadOnly="true" msprop:Generator_UserColumnName="OnCartDate" msprop:Generator_ColumnPropNameInTable="OnCartDateColumn" msprop:Generator_ColumnPropNameInRow="OnCartDate" msprop:Generator_ColumnVarNameInTable="columnOnCartDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="PaintingReq" msdata:ReadOnly="true" msprop:Generator_UserColumnName="PaintingReq" msprop:Generator_ColumnPropNameInTable="PaintingReqColumn" msprop:Generator_ColumnPropNameInRow="PaintingReq" msprop:Generator_ColumnVarNameInTable="columnPaintingReq" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="MatExtCode" msprop:Generator_UserColumnName="MatExtCode" msprop:Generator_ColumnPropNameInTable="MatExtCodeColumn" msprop:Generator_ColumnPropNameInRow="MatExtCode" msprop:Generator_ColumnVarNameInTable="columnMatExtCode" type="xs:int" />
|
||||
<xs:element name="MatDesc" msprop:Generator_UserColumnName="MatDesc" msprop:Generator_ColumnPropNameInTable="MatDescColumn" msprop:Generator_ColumnPropNameInRow="MatDesc" msprop:Generator_ColumnVarNameInTable="columnMatDesc">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="500" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="KitExtCode" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnVarNameInTable="columnKitExtCode" msprop:Generator_UserColumnName="KitExtCode" minOccurs="0">
|
||||
<xs:element name="KitExtCode" msprop:Generator_UserColumnName="KitExtCode" msprop:Generator_ColumnPropNameInTable="KitExtCodeColumn" msprop:Generator_ColumnPropNameInRow="KitExtCode" msprop:Generator_ColumnVarNameInTable="columnKitExtCode" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="OrdID" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnVarNameInTable="columnOrdID" msprop:Generator_UserColumnName="OrdID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="OrderExtCode" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" minOccurs="0">
|
||||
<xs:element name="OrdID" msprop:Generator_UserColumnName="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="OrderExtCode" msprop:Generator_UserColumnName="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="250" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CartID" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnVarNameInTable="columnCartID" msprop:Generator_UserColumnName="CartID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CartID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_UserColumnName="CartDtmx" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -5050,8 +5064,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="CartIndex" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnVarNameInTable="columnCartIndex" msprop:Generator_UserColumnName="CartIndex" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="BinID" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnVarNameInTable="columnBinID" msprop:Generator_UserColumnName="BinID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="CartIndex" msprop:Generator_UserColumnName="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="BinID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_ColumnVarNameInTable="columnBinID" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_UserColumnName="BinDtmx" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -5059,8 +5073,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BinIndex" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnVarNameInTable="columnBinIndex" msprop:Generator_UserColumnName="BinIndex" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_UserColumnName="DueDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="BinIndex" msdata:ReadOnly="true" msprop:Generator_UserColumnName="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="DueDate" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="PlaceCod" msprop:Generator_ColumnPropNameInTable="PlaceCodColumn" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="PlaceCod" msprop:Generator_UserColumnName="PlaceCod" msprop:Generator_ColumnVarNameInTable="columnPlaceCod">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -5068,8 +5082,8 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="WrkEnd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="WrkEnd" msprop:Generator_ColumnPropNameInTable="WrkEndColumn" msprop:Generator_ColumnVarNameInTable="columnWrkEnd" msprop:Generator_UserColumnName="WrkEnd" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="UnlEnd" msdata:ReadOnly="true" msprop:Generator_ColumnPropNameInRow="UnlEnd" msprop:Generator_ColumnPropNameInTable="UnlEndColumn" msprop:Generator_ColumnVarNameInTable="columnUnlEnd" msprop:Generator_UserColumnName="UnlEnd" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="WrkEnd" msdata:ReadOnly="true" msprop:Generator_UserColumnName="WrkEnd" msprop:Generator_ColumnPropNameInTable="WrkEndColumn" msprop:Generator_ColumnPropNameInRow="WrkEnd" msprop:Generator_ColumnVarNameInTable="columnWrkEnd" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="UnlEnd" msdata:ReadOnly="true" msprop:Generator_UserColumnName="UnlEnd" msprop:Generator_ColumnPropNameInTable="UnlEndColumn" msprop:Generator_ColumnPropNameInRow="UnlEnd" msprop:Generator_ColumnVarNameInTable="columnUnlEnd" type="xs:dateTime" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@@ -6056,18 +6070,18 @@ SELECT SpecPartCod, ModelCod, SpecPartDescr, CartCode FROM SpecialParts WHERE (S
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<msdata:Relationship name="FK_ItemList_Materials1" msdata:parent="Materials" msdata:child="ItemList" msdata:parentkey="MatID" msdata:childkey="MatID" msprop:Generator_UserParentTable="Materials" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_Materials1" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_Materials1" msprop:Generator_ParentPropName="MaterialsRow" />
|
||||
<msdata:Relationship name="FK_OffOrd2Item_OfflineOrderList" msdata:parent="OfflineOrderList" msdata:child="OffOrd2Item" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OfflineOrderList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_OfflineOrderList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_UserRelationName="FK_OffOrd2Item_OfflineOrderList" msprop:Generator_ParentPropName="OfflineOrderListRow" />
|
||||
<msdata:Relationship name="FK_ItemList_KitList" msdata:parent="KitList" msdata:child="ItemList" msdata:parentkey="KitID" msdata:childkey="KitID" msprop:Generator_UserParentTable="KitList" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_KitList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_UserRelationName="FK_ItemList_KitList" msprop:Generator_ParentPropName="KitListRow" />
|
||||
<msdata:Relationship name="FK_Nesting_ItemList" msdata:parent="ItemList" msdata:child="Nesting" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="Nesting" msprop:Generator_RelationVarName="relationFK_Nesting_ItemList" msprop:Generator_ChildPropName="GetNestingRows" msprop:Generator_UserRelationName="FK_Nesting_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
|
||||
<msdata:Relationship name="FK_KitList_Carts" msdata:parent="Carts" msdata:child="KitList" msdata:parentkey="CartID" msdata:childkey="CartID" msprop:Generator_UserParentTable="Carts" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_Carts" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_UserRelationName="FK_KitList_Carts" msprop:Generator_ParentPropName="CartsRow" />
|
||||
<msdata:Relationship name="FK_KitList_OrderList" msdata:parent="OrderList" msdata:child="KitList" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_OrderList" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_UserRelationName="FK_KitList_OrderList" msprop:Generator_ParentPropName="OrderListRow" />
|
||||
<msdata:Relationship name="FK_OffOrd2Item_ItemList" msdata:parent="ItemList" msdata:child="OffOrd2Item" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_ItemList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_UserRelationName="FK_OffOrd2Item_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
|
||||
<msdata:Relationship name="FK_BinList_Bins" msdata:parent="Bins" msdata:child="BinList" msdata:parentkey="BinID" msdata:childkey="BinID" msprop:Generator_UserParentTable="Bins" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_Bins" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_UserRelationName="FK_BinList_Bins" msprop:Generator_ParentPropName="BinsRow" />
|
||||
<msdata:Relationship name="FK_BinList_ItemList" msdata:parent="ItemList" msdata:child="BinList" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_ItemList" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_UserRelationName="FK_BinList_ItemList" msprop:Generator_ParentPropName="ItemListRow" />
|
||||
<msdata:Relationship name="FK_Order2FinalKit_FinalKit" msdata:parent="FinalKit" msdata:child="Order2FinalKit" msdata:parentkey="FinalKitID" msdata:childkey="FinalKitID" msprop:Generator_UserParentTable="FinalKit" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_FinalKit" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_ParentPropName="FinalKitRow" msprop:Generator_UserRelationName="FK_Order2FinalKit_FinalKit" />
|
||||
<msdata:Relationship name="FK_Order2FinalKit_OrderList" msdata:parent="OrderList" msdata:child="Order2FinalKit" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_OrderList" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_ParentPropName="OrderListRow" msprop:Generator_UserRelationName="FK_Order2FinalKit_OrderList" />
|
||||
<msdata:Relationship name="FK_StatusLog_Places" msdata:parent="Places" msdata:child="StatusLog" msdata:parentkey="PlaceCod" msdata:childkey="PlaceCod" msprop:Generator_UserParentTable="Places" msprop:Generator_UserChildTable="StatusLog" msprop:Generator_RelationVarName="relationFK_StatusLog_Places" msprop:Generator_ChildPropName="GetStatusLogRows" msprop:Generator_ParentPropName="PlacesRow" msprop:Generator_UserRelationName="FK_StatusLog_Places" />
|
||||
<msdata:Relationship name="FK_ItemList_Materials1" msdata:parent="Materials" msdata:child="ItemList" msdata:parentkey="MatID" msdata:childkey="MatID" msprop:Generator_UserParentTable="Materials" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_Materials1" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_ParentPropName="MaterialsRow" msprop:Generator_UserRelationName="FK_ItemList_Materials1" />
|
||||
<msdata:Relationship name="FK_OffOrd2Item_OfflineOrderList" msdata:parent="OfflineOrderList" msdata:child="OffOrd2Item" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OfflineOrderList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_OfflineOrderList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_ParentPropName="OfflineOrderListRow" msprop:Generator_UserRelationName="FK_OffOrd2Item_OfflineOrderList" />
|
||||
<msdata:Relationship name="FK_ItemList_KitList" msdata:parent="KitList" msdata:child="ItemList" msdata:parentkey="KitID" msdata:childkey="KitID" msprop:Generator_UserParentTable="KitList" msprop:Generator_UserChildTable="ItemList" msprop:Generator_RelationVarName="relationFK_ItemList_KitList" msprop:Generator_ChildPropName="GetItemListRows" msprop:Generator_ParentPropName="KitListRow" msprop:Generator_UserRelationName="FK_ItemList_KitList" />
|
||||
<msdata:Relationship name="FK_Nesting_ItemList" msdata:parent="ItemList" msdata:child="Nesting" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="Nesting" msprop:Generator_RelationVarName="relationFK_Nesting_ItemList" msprop:Generator_ChildPropName="GetNestingRows" msprop:Generator_ParentPropName="ItemListRow" msprop:Generator_UserRelationName="FK_Nesting_ItemList" />
|
||||
<msdata:Relationship name="FK_KitList_Carts" msdata:parent="Carts" msdata:child="KitList" msdata:parentkey="CartID" msdata:childkey="CartID" msprop:Generator_UserParentTable="Carts" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_Carts" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_ParentPropName="CartsRow" msprop:Generator_UserRelationName="FK_KitList_Carts" />
|
||||
<msdata:Relationship name="FK_KitList_OrderList" msdata:parent="OrderList" msdata:child="KitList" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="KitList" msprop:Generator_RelationVarName="relationFK_KitList_OrderList" msprop:Generator_ChildPropName="GetKitListRows" msprop:Generator_ParentPropName="OrderListRow" msprop:Generator_UserRelationName="FK_KitList_OrderList" />
|
||||
<msdata:Relationship name="FK_OffOrd2Item_ItemList" msdata:parent="ItemList" msdata:child="OffOrd2Item" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="OffOrd2Item" msprop:Generator_RelationVarName="relationFK_OffOrd2Item_ItemList" msprop:Generator_ChildPropName="GetOffOrd2ItemRows" msprop:Generator_ParentPropName="ItemListRow" msprop:Generator_UserRelationName="FK_OffOrd2Item_ItemList" />
|
||||
<msdata:Relationship name="FK_BinList_Bins" msdata:parent="Bins" msdata:child="BinList" msdata:parentkey="BinID" msdata:childkey="BinID" msprop:Generator_UserParentTable="Bins" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_Bins" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_ParentPropName="BinsRow" msprop:Generator_UserRelationName="FK_BinList_Bins" />
|
||||
<msdata:Relationship name="FK_BinList_ItemList" msdata:parent="ItemList" msdata:child="BinList" msdata:parentkey="ItemID" msdata:childkey="ItemID" msprop:Generator_UserParentTable="ItemList" msprop:Generator_UserChildTable="BinList" msprop:Generator_RelationVarName="relationFK_BinList_ItemList" msprop:Generator_ChildPropName="GetBinListRows" msprop:Generator_ParentPropName="ItemListRow" msprop:Generator_UserRelationName="FK_BinList_ItemList" />
|
||||
<msdata:Relationship name="FK_Order2FinalKit_FinalKit" msdata:parent="FinalKit" msdata:child="Order2FinalKit" msdata:parentkey="FinalKitID" msdata:childkey="FinalKitID" msprop:Generator_UserParentTable="FinalKit" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_FinalKit" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_UserRelationName="FK_Order2FinalKit_FinalKit" msprop:Generator_ParentPropName="FinalKitRow" />
|
||||
<msdata:Relationship name="FK_Order2FinalKit_OrderList" msdata:parent="OrderList" msdata:child="Order2FinalKit" msdata:parentkey="OrdID" msdata:childkey="OrdID" msprop:Generator_UserParentTable="OrderList" msprop:Generator_UserChildTable="Order2FinalKit" msprop:Generator_RelationVarName="relationFK_Order2FinalKit_OrderList" msprop:Generator_ChildPropName="GetOrder2FinalKitRows" msprop:Generator_UserRelationName="FK_Order2FinalKit_OrderList" msprop:Generator_ParentPropName="OrderListRow" />
|
||||
<msdata:Relationship name="FK_StatusLog_Places" msdata:parent="Places" msdata:child="StatusLog" msdata:parentkey="PlaceCod" msdata:childkey="PlaceCod" msprop:Generator_UserParentTable="Places" msprop:Generator_UserChildTable="StatusLog" msprop:Generator_RelationVarName="relationFK_StatusLog_Places" msprop:Generator_ChildPropName="GetStatusLogRows" msprop:Generator_UserRelationName="FK_StatusLog_Places" msprop:Generator_ParentPropName="PlacesRow" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:schema>
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="662" ViewPortY="-53" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-53" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:BatchList" ZOrder="13" X="325" Y="437" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:StackList" ZOrder="14" X="618" Y="961" Height="381" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:HiddenField ID="hfDeleteEnabled" runat="server" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByStatus" TypeName="AppData.DS_AppTableAdapters.BatchListTableAdapter" DeleteMethod="deleteTree" FilterExpression="Status <> 5">
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByStatusLight" TypeName="AppData.DS_AppTableAdapters.BatchListTableAdapter" DeleteMethod="deleteTree" FilterExpression="Status <> 5">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="ddlStatus" DefaultValue="-1" Name="Status" PropertyName="SelectedValue" Type="Int32" />
|
||||
<asp:SessionParameter Name="SearchVal" SessionField="valoreSearch" Type="String" DefaultValue="" />
|
||||
|
||||
Reference in New Issue
Block a user